annotate src/xmlwrapp.mk @ 1120:405738cf5761

fixed sourceforge URLs in UPDATE macros
author Mark Brand <mabrand@mabrand.nl>
date Thu, 09 Sep 2010 21:24:32 +0200
parents 29f1ba4559ae
children 2726fbef533c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 607
diff changeset
1 # This file is part of mingw-cross-env.
714
29f1ba4559ae point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
2 # See doc/index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 408
diff changeset
3
145
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # xmlwrapp
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
5 PKG := xmlwrapp
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 422
diff changeset
6 $(PKG)_IGNORE :=
607
0e4f707cd651 update version of packages geos, libgcrypt, libsndfile, pango and xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 522
diff changeset
7 $(PKG)_VERSION := 0.6.2
0e4f707cd651 update version of packages geos, libgcrypt, libsndfile, pango and xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 522
diff changeset
8 $(PKG)_CHECKSUM := b3ef8bff215bbacd988790615b76379672105928
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
9 $(PKG)_SUBDIR := xmlwrapp-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
10 $(PKG)_FILE := xmlwrapp-$($(PKG)_VERSION).tar.gz
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
11 $(PKG)_WEBSITE := http://sourceforge.net/projects/xmlwrapp/
422
d2f5eb27e051 improved download URLs for all SourceForge packages to ensure that the selected SOURCEFORGE_MIRROR is really used
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/xmlwrapp/xmlwrapp/$($(PKG)_VERSION)/$($(PKG)_FILE)
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 265
diff changeset
13 $(PKG)_DEPS := gcc libxml2 libxslt
145
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1120
405738cf5761 fixed sourceforge URLs in UPDATE macros
Mark Brand <mabrand@mabrand.nl>
parents: 714
diff changeset
16 $(call SOURCEFORGE_FILES,http://sourceforge.net/projects/xmlwrapp/files/) | \
216
d740c44d051f update version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 145
diff changeset
17 $(SED) -n 's,.*xmlwrapp-\([0-9][^>]*\)\.tar.*,\1,p' | \
408
413750a629be improved version recognition for sourceforge packages
Volker Grabsch <vog@notjusthosting.com>
parents: 377
diff changeset
18 tail -1
145
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 endef
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20
53f68558e406 translated package: xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 define $(PKG)_BUILD
254
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
22 cd '$(1)' && ./configure \
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
23 --host='$(TARGET)' \
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
24 --disable-shared \
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)' \
f200927554c5 simplified build instructions for the new version of package xmlwrapp
Volker Grabsch <vog@notjusthosting.com>
parents: 253
diff changeset
26 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
27 $(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
28 endef