annotate src/zziplib.mk @ 641:dab071eac9c0

simplified file markers
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 16 Jan 2010 23:02:02 +0100
parents abe28c98ef68
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: 602
diff changeset
1 # This file is part of mingw-cross-env.
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 602
diff changeset
2 # See doc/index.html or doc/README 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 :=
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 0.13.58
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 4255290de3b66deb4a7233ab41727c1b56739e8c
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)' \
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-shared \
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)' \
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 PKG_CONFIG='$(TARGET)-pkg-config'
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
0c097fc19e9a new package: zziplib (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 endef