annotate src/expat.mk @ 306:85ffa9259036

validate downloads using SHA-1 checksums
author Volker Grabsch <vog@notjusthosting.com>
date Sun, 05 Apr 2009 14:00:17 +0200
parents 5bf9071e67b6
children 413750a629be
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
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
3 PKG := expat
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
4 $(PKG)_VERSION := 2.0.1
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 $(PKG)_CHECKSUM := 663548c37b996082db1f2f2c32af060d7aa15c2d
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
6 $(PKG)_SUBDIR := expat-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
7 $(PKG)_FILE := expat-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_WEBSITE := http://expat.sourceforge.net/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/expat/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_DEPS := gcc
188
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 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
14 grep 'expat-' | \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,.*expat-\([0-9][^>]*\)\.tar.*,\1,p' | \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --host='$(TARGET)' \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --disable-shared \
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)'
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
11829aaff7d3 new package: expat
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 endef