annotate src/expat.mk @ 188:11829aaff7d3

new package: expat
author Volker Grabsch <vog@notjusthosting.com>
date Mon, 10 Nov 2008 11:09:59 +0100
parents
children 5bf9071e67b6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # Expat XML Parser
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # http://expat.sourceforge.net/
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := expat
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_VERSION := 2.0.1
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_SUBDIR := expat-$($(PKG)_VERSION)
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_FILE := expat-$($(PKG)_VERSION).tar.gz
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/expat/$($(PKG)_FILE)
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_DEPS := gcc
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 define $(PKG)_UPDATE
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=10127&package_id=10780' | \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 grep 'expat-' | \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 $(SED) -n 's,.*expat-\([0-9][^>]*\)\.tar.*,\1,p' | \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 head -1
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 endef
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 define $(PKG)_BUILD
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 cd '$(1)' && ./configure \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 --host='$(TARGET)' \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --disable-shared \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --prefix='$(PREFIX)/$(TARGET)'
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 endef