annotate src/zziplib.mk @ 1026:9fe5e2490936

parallelization bugfix for package zziplib
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 01 Jun 2010 10:11:24 +0200
parents 1a84ed8b1d95
children a04241aba8c6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 602
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.
599
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
601
f27bd9293c07 corrected informal project name of package zziplib
Volker Grabsch <vog@notjusthosting.com>
parents: 600
diff changeset
4 # ZZIPlib
599
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := zziplib
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
882
8a6bc74b0d2f upgrade packages: curl jpeg libxml2 ogg taglib vorbis zziplib
Mark Brand <mabrand@mabrand.nl>
parents: 714
diff changeset
7 $(PKG)_VERSION := 0.13.59
8a6bc74b0d2f upgrade packages: curl jpeg libxml2 ogg taglib vorbis zziplib
Mark Brand <mabrand@mabrand.nl>
parents: 714
diff changeset
8 $(PKG)_CHECKSUM := ddbce25cb36c3b4c2b892e2c8a88fa4a0be29a71
599
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := zziplib-$($(PKG)_VERSION)
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := zziplib-$($(PKG)_VERSION).tar.bz2
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://zziplib.sourceforge.net/
602
abe28c98ef68 use a more general download URL in package zziplib
Volker Grabsch <vog@notjusthosting.com>
parents: 601
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/zziplib/zziplib$(word 2,$(subst ., ,$($(PKG)_VERSION)))/$($(PKG)_VERSION)/$($(PKG)_FILE)
599
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/zziplib/files/) | \
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 $(SED) -n 's,.*zziplib-\([0-9][^>]*\)\.tar.*,\1,p' | \
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 tail -1
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 cd '$(1)' && ./configure \
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --host='$(TARGET)' \
951
1a84ed8b1d95 don't use mmap in package zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents: 882
diff changeset
24 --disable-mmap \
599
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-shared \
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 PKG_CONFIG='$(TARGET)-pkg-config'
1026
9fe5e2490936 parallelization bugfix for package zziplib
Volker Grabsch <vog@notjusthosting.com>
parents: 951
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
9fe5e2490936 parallelization bugfix for package zziplib
Volker Grabsch <vog@notjusthosting.com>
parents: 951
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
599
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef