annotate src/zziplib.mk @ 2353:99516e73b368

Move doc/index.html -> index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 12:14:15 +0200
parents f48c5b085a38
children b5321bdec505
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1850
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See 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)_CHECKSUM := ddbce25cb36c3b4c2b892e2c8a88fa4a0be29a71
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1073
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1466
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1073
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)$(word 2,$(subst ., ,$($(PKG)_VERSION)))/$($(PKG)_VERSION)/$($(PKG)_FILE)
1073
a04241aba8c6 add missing dependency of package zziplib (by Garth Dahlstrom)
Volker Grabsch <vog@notjusthosting.com>
parents: 1026
diff changeset
11 $(PKG)_DEPS := gcc zlib
599
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1073
diff changeset
14 wget -q -O- 'http://sourceforge.net/projects/zziplib/files/' | \
599
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,.*zziplib-\([0-9][^>]*\)\.tar.*,\1,p' | \
1466
2726fbef533c improved update script of all remaining SourceForge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 1073
diff changeset
16 head -1
599
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
1850
8a38c4a5b1ea disable docs in package zziplib as those cause trouble on Mac OS X
Volker Grabsch <vog@notjusthosting.com>
parents: 1499
diff changeset
20 # don't build and install docs
8a38c4a5b1ea disable docs in package zziplib as those cause trouble on Mac OS X
Volker Grabsch <vog@notjusthosting.com>
parents: 1499
diff changeset
21 (echo '# DISABLED'; echo 'all:'; echo 'install:') > '$(1)/docs/Makefile.in'
599
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