annotate src/tre.mk @ 265:5bf9071e67b6

put all package's project websites into Make variables $($(PKG)_WEBSITE)
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 01 Mar 2009 16:35:21 +0100
parents 078eb60a189c
children 85ffa9259036
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
133
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # TRE
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3 PKG := tre
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 $(PKG)_VERSION := 0.7.5
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_SUBDIR := tre-$($(PKG)_VERSION)
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_FILE := tre-$($(PKG)_VERSION).tar.bz2
265
5bf9071e67b6 put all package's project websites into Make variables $($(PKG)_WEBSITE)
Volker Grabsch <vog@notjusthosting.com>
parents: 133
diff changeset
7 $(PKG)_WEBSITE := http://laurikari.net/tre/
133
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_URL := http://laurikari.net/tre/$($(PKG)_FILE)
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_DEPS := gcc
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 define $(PKG)_UPDATE
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 wget -q -O- 'http://laurikari.net/tre/download.html' | \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(SED) -n 's,.*tre-\([a-z0-9][^>]*\)\.tar.*,\1,p' | \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 head -1
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 endef
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 define $(PKG)_BUILD
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 cd '$(1)' && ./configure \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 --host='$(TARGET)' \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --disable-shared \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --prefix='$(PREFIX)/$(TARGET)' \
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --disable-nls
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
078eb60a189c translated package: tre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 endef