annotate src/pcre.mk @ 655:563b1e2827ce

update version of packages pcre and pixman
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 22 Jan 2010 02:25:15 +0100
parents dab071eac9c0
children 29f1ba4559ae
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 498
diff changeset
1 # This file is part of mingw-cross-env.
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 498
diff changeset
2 # See doc/index.html or doc/README for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
3
245
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # PCRE
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := pcre
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 425
diff changeset
6 $(PKG)_IGNORE :=
655
563b1e2827ce update version of packages pcre and pixman
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
7 $(PKG)_VERSION := 8.01
563b1e2827ce update version of packages pcre and pixman
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
8 $(PKG)_CHECKSUM := c1addc8201f428be88c54892cfc9a30021e5f091
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := pcre-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_FILE := pcre-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
11 $(PKG)_WEBSITE := http://www.pcre.org/
422
d2f5eb27e051 improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/pcre/pcre/$($(PKG)_VERSION)/$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
13 $(PKG)_DEPS := gcc
245
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
408
413750a629be improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 337
diff changeset
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/pcre/files/pcre/) | \
245
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 $(SED) -n 's,.*pcre-\([0-9][^>]*\)\.tar.*,\1,p' | \
408
413750a629be improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 337
diff changeset
18 tail -1
245
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
337
15c74c7af78c remove "__declspec(dllimport)" declarations instead of defining PCRE_STATIC in package pcre
Volker Grabsch <vog@notjusthosting.com>
parents: 336
diff changeset
22 $(SED) 's,__declspec(dllimport),,' -i '$(1)/pcre.h.in'
15c74c7af78c remove "__declspec(dllimport)" declarations instead of defining PCRE_STATIC in package pcre
Volker Grabsch <vog@notjusthosting.com>
parents: 336
diff changeset
23 $(SED) 's,__declspec(dllimport),,' -i '$(1)/pcreposix.h'
336
95a831e1dd54 fix for systems where wine confuses the cross-compiling detection of ./configure
Volker Grabsch <vog@notjusthosting.com>
parents: 335
diff changeset
24 # wine confuses the cross-compiling detection, so set it explicitly
95a831e1dd54 fix for systems where wine confuses the cross-compiling detection of ./configure
Volker Grabsch <vog@notjusthosting.com>
parents: 335
diff changeset
25 $(SED) 's,cross_compiling=no,cross_compiling=yes,' -i '$(1)/configure'
245
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 cd '$(1)' && ./configure \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --host='$(TARGET)' \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-shared \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --prefix='$(PREFIX)/$(TARGET)' \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --enable-utf8 \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --enable-unicode-properties \
425
afd650c42ba3 disable C++ support for package pcre
Volker Grabsch <vog@notjusthosting.com>
parents: 422
diff changeset
32 --disable-cpp \
245
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --disable-pcregrep-libz \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --disable-pcregrep-libbz2 \
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 --disable-pcretest-libreadline
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
05a1787838ba new package: pcre
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 endef