annotate src/tre.mk @ 1031:4e68a8663ff7

add an alternative download URL for package tre
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 04 Jun 2010 22:25:54 +0200
parents 29f1ba4559ae
children a7001140dab1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 460
diff changeset
1 # This file is part of mingw-cross-env.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
2 # See doc/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
133
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # TRE
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := tre
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
6 $(PKG)_IGNORE :=
460
62e637be1305 update version of package tre
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
7 $(PKG)_VERSION := 0.8.0
62e637be1305 update version of package tre
Volker Grabsch <vog@notjusthosting.com>
parents: 448
diff changeset
8 $(PKG)_CHECKSUM := a41692e64b40ebae3cffe83931ddbf8420a10ae3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := tre-$($(PKG)_VERSION)
1031
4e68a8663ff7 add an alternative download URL for package tre
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
10 $(PKG)_FILE := tre-$($(PKG)_VERSION).tar.gz
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
11 $(PKG)_WEBSITE := http://laurikari.net/tre/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
12 $(PKG)_URL := http://laurikari.net/tre/$($(PKG)_FILE)
1031
4e68a8663ff7 add an alternative download URL for package tre
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
13 $(PKG)_URL_2 := http://ftp.de.debian.org/debian/pool/main/t/$(PKG)/$(PKG)_$($(PKG)_VERSION).orig.tar.gz
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
14 $(PKG)_DEPS := gcc
133
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 define $(PKG)_UPDATE
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 wget -q -O- 'http://laurikari.net/tre/download.html' | \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*tre-\([a-z0-9][^>]*\)\.tar.*,\1,p' | \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-shared \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-nls
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 endef