annotate src/libgsf.mk @ 2525:4d0f3a9da57e

all packages: use $(WGET) portability variable
author Tony Theodore <tonyt@logyst.com>
date Wed, 09 May 2012 01:16:05 +1000
parents b5321bdec505
children f73f450e0115
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 2315
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
414
d2a6561bcb6d add a copyright notice and license to each source file
Volker Grabsch <vog@notjusthosting.com>
parents: 306
diff changeset
3
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 300
diff changeset
4 PKG := libgsf
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
5 $(PKG)_IGNORE :=
2315
2b5ea5239144 update packages libgsf, libxml++
Tony Theodore <tonyt@logyst.com>
parents: 1888
diff changeset
6 $(PKG)_CHECKSUM := ca1c5aa92a840e322d7cafd9f2dede3d38a69660
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 300
diff changeset
7 $(PKG)_SUBDIR := libgsf-$($(PKG)_VERSION)
2315
2b5ea5239144 update packages libgsf, libxml++
Tony Theodore <tonyt@logyst.com>
parents: 1888
diff changeset
8 $(PKG)_FILE := libgsf-$($(PKG)_VERSION).tar.xz
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 300
diff changeset
9 $(PKG)_URL := http://ftp.gnome.org/pub/gnome/sources/libgsf/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 300
diff changeset
10 $(PKG)_DEPS := gcc zlib bzip2 glib libxml2
263
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 define $(PKG)_UPDATE
2525
4d0f3a9da57e all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents: 2365
diff changeset
13 $(WGET) -q -O- 'http://git.gnome.org/browse/libgsf/refs/tags' | \
911
f1d598a04351 avoid beta versions of packages atk and libgsf (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 801
diff changeset
14 grep '<a href=' | \
f1d598a04351 avoid beta versions of packages atk and libgsf (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 801
diff changeset
15 $(SED) -n "s,.*<a href='[^']*/tag/?id=LIBGSF_\\([0-9]*_[0-9]*[02468]_[^<]*\\)'.*,\\1,p" | \
f1d598a04351 avoid beta versions of packages atk and libgsf (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents: 801
diff changeset
16 $(SED) 's,_,.,g' | \
263
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 define $(PKG)_BUILD
759
bf4bcb3370fa changed coding style: make "-i" always the first argument of $(SED) (by Mark Brand)
Volker Grabsch <vog@notjusthosting.com>
parents: 753
diff changeset
21 $(SED) -i 's,^\(Requires:.*\),\1 gio-2.0,' '$(1)'/libgsf-1.pc.in
753
0dc1c1dadcd3 fixed several dependencies and *.pc scripts
Volker Grabsch <vog@notjusthosting.com>
parents: 746
diff changeset
22 echo 'Libs.private: -lz -lbz2' >> '$(1)'/libgsf-1.pc.in
263
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --disable-shared \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --prefix='$(PREFIX)/$(TARGET)' \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-nls \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-gtk-doc \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --disable-schemas-install \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --without-python \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --without-gnome-vfs \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --without-bonobo \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --with-zlib \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --with-bz2 \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 --with-gio \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config'
746
6b7867fb50e5 create missing *.pc file for package libgsf
Volker Grabsch <vog@notjusthosting.com>
parents: 714
diff changeset
37 $(MAKE) -C '$(1)' -j '$(JOBS)' install-pkgconfigDATA
706
0a976e6b82e3 remove other packages' dependencies on the gettext tool
Volker Grabsch <vog@notjusthosting.com>
parents: 641
diff changeset
38 $(MAKE) -C '$(1)/gsf' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
263
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 endef