Mercurial > mxe-octave
annotate src/tre.mk @ 4618:de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
* Makefile.in: add handling for packages with no update rule
* src/gtk2.mk, src/gtk3.mk, src/libvpx.mk, src/taglib.mk,
src/hunspell.mk, src/vala.mk : use github tags for version info
* src/llvm.mk: add '?' to update url
* src/openscenegraph.mk: update SED rule for version extraction
* src/pthread-stubs.mk, src/qt5.mk, src/renderproto.mk,
src/sm.mk, src/s2tc.mk, src/util-macros.mk: added dummy PKG_UPDATE rule
* src/qscintilla.mk: change search name for version extraction
* src/qtbase.mk: use short pkg version in update path
* src/suitesparse.mk: update change in main url/version url
* src/tre.mk: update download page link
* src/vmime.mk: update download and update url
* src/wget.mk, src/xapian-core.mk: update url, sed rule
* src/wt.mk: update to use github download/update
* src/src-msys-libcrypt.mk: update sed rule
author | John Donoghue |
---|---|
date | Fri, 09 Mar 2018 11:46:42 -0500 |
parents | 13be64f9f16d |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1038
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
414
d2a6561bcb6d
add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents:
377
diff
changeset
|
3 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
4 PKG := tre |
448
e9afec55fd6b
improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents:
417
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 0.8.0 |
1032
a7001140dab1
fix checksum to the checksum of the TarGZ archive of package tre
Volker Grabsch <vog@notjusthosting.com>
parents:
1031
diff
changeset
|
7 $(PKG)_CHECKSUM := 8818058785923c32f5e1f48feeb2851507c0e61c |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
8 $(PKG)_SUBDIR := tre-$($(PKG)_VERSION) |
1031
4e68a8663ff7
add an alternative download URL for package tre
Volker Grabsch <vog@notjusthosting.com>
parents:
714
diff
changeset
|
9 $(PKG)_FILE := tre-$($(PKG)_VERSION).tar.gz |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
265
diff
changeset
|
10 $(PKG)_URL := http://laurikari.net/tre/$($(PKG)_FILE) |
1038
eddf7d0830e6
improved secondary download URL of package tre
Volker Grabsch <vog@notjusthosting.com>
parents:
1032
diff
changeset
|
11 $(PKG)_URL_2 := http://ftp.debian.org/debian/pool/main/t/$(PKG)/$(PKG)_$($(PKG)_VERSION).orig.tar.gz |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
12 $(PKG)_DEPS := |
133
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 |
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
14 define $(PKG)_UPDATE |
4618
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
15 $(WGET) -q -O- 'https://laurikari.net/tre/download/' | \ |
133
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 $(SED) -n 's,.*tre-\([a-z0-9][^>]*\)\.tar.*,\1,p' | \ |
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 head -1 |
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
21 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
24 --prefix='$(HOST_PREFIX)' \ |
133
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
25 --disable-nls |
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
26 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
078eb60a189c
translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
27 endef |