annotate src/pcre.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 05a1787838ba
children 85ffa9259036
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
245
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # PCRE
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3 PKG := pcre
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 $(PKG)_VERSION := 7.8
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_SUBDIR := pcre-$($(PKG)_VERSION)
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_FILE := pcre-$($(PKG)_VERSION).tar.bz2
265
5bf9071e67b6 put all package's project websites into Make variables $($(PKG)_WEBSITE)
Volker Grabsch <vog@notjusthosting.com>
parents: 245
diff changeset
7 $(PKG)_WEBSITE := http://www.pcre.org/
245
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/pcre/$($(PKG)_FILE)
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_DEPS := gcc
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 define $(PKG)_UPDATE
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=10194&package_id=9960' | \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 grep 'pcre-' | \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*pcre-\([0-9][^>]*\)\.tar.*,\1,p' | \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --host='$(TARGET)' \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --disable-shared \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --prefix='$(PREFIX)/$(TARGET)' \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --enable-utf8 \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --enable-unicode-properties \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-pcregrep-libz \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-pcregrep-libbz2 \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-pcretest-libreadline
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 endef