annotate src/xmlwrapp.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 61e5dba7175b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
145
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # xmlwrapp
53f68558e406 translated package: xmlwrapp
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 := xmlwrapp
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
4 $(PKG)_VERSION := 0.6.0
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 $(PKG)_CHECKSUM := 4f6f8cf4e18b8e76be1b01b575766156bbee42a0
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
6 $(PKG)_SUBDIR := xmlwrapp-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
7 $(PKG)_FILE := xmlwrapp-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
8 $(PKG)_WEBSITE := http://sourceforge.net/projects/xmlwrapp/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/xmlwrapp/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_DEPS := gcc libxml2 libxslt
145
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 wget -q -O- 'http://sourceforge.net/project/showfiles.php?group_id=142403&package_id=156331' | \
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 grep 'xmlwrapp-' | \
216
d740c44d051f update version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 145
diff changeset
15 $(SED) -n 's,.*xmlwrapp-\([0-9][^>]*\)\.tar.*,\1,p' | \
145
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
254
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
20 cd '$(1)' && ./configure \
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
21 --host='$(TARGET)' \
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
22 --disable-shared \
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
23 --prefix='$(PREFIX)/$(TARGET)' \
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
24 PKG_CONFIG='$(TARGET)-pkg-config'
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= html_DATA=
145
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 endef