annotate src/libgsf.mk @ 641:dab071eac9c0

simplified file markers
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 16 Jan 2010 23:02:02 +0100
parents ba86dd47715d
children 0a976e6b82e3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
641
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 495
diff changeset
1 # This file is part of mingw-cross-env.
dab071eac9c0 simplified file markers
Volker Grabsch <vog@notjusthosting.com>
parents: 495
diff changeset
2 # See doc/index.html or doc/README 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
263
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # libgsf
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 300
diff changeset
5 PKG := libgsf
448
e9afec55fd6b improved version recognition, enable the notation of ignored (bad) package versions
Volker Grabsch <vog@notjusthosting.com>
parents: 417
diff changeset
6 $(PKG)_IGNORE :=
495
ba86dd47715d update version of packages glib, libgsf, pango and sqlite
Volker Grabsch <vog@notjusthosting.com>
parents: 449
diff changeset
7 $(PKG)_VERSION := 1.14.16
ba86dd47715d update version of packages glib, libgsf, pango and sqlite
Volker Grabsch <vog@notjusthosting.com>
parents: 449
diff changeset
8 $(PKG)_CHECKSUM := 9461d816c283e977d88916932def678560f9c8d5
306
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 300
diff changeset
9 $(PKG)_SUBDIR := libgsf-$($(PKG)_VERSION)
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 300
diff changeset
10 $(PKG)_FILE := libgsf-$($(PKG)_VERSION).tar.bz2
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 300
diff changeset
11 $(PKG)_WEBSITE := http://ftp.gnome.org/pub/gnome/sources/libgsf/
85ffa9259036 validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents: 300
diff changeset
12 $(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
13 $(PKG)_DEPS := gcc zlib bzip2 glib libxml2
263
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
415
4a10f22aabf3 moved the whole project to Savannah, and renamed it from mingw_cross_env to mingw-cross-env
Volker Grabsch <vog@notjusthosting.com>
parents: 414
diff changeset
16 wget -q -O- -U 'mingw-cross-env' 'http://freshmeat.net/projects/libgsf/' | \
300
b116b06a2bca fixed version recognition of package libgsf
Volker Grabsch <vog@notjusthosting.com>
parents: 266
diff changeset
17 grep 'libgsf/releases' | \
b116b06a2bca fixed version recognition of package libgsf
Volker Grabsch <vog@notjusthosting.com>
parents: 266
diff changeset
18 $(SED) -n 's,.*<a href="/projects/libgsf/releases/[^"]*">\([0-9][^<]*\)</a>.*,\1,p' | \
263
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 # Don't search for intltool
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 $(SED) 's,\(INTLTOOL_APPLIED_VERSION\)=.*,\1=0.35.0,' -i '$(1)/configure'
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(SED) 's,^\(INTLTOOL_UPDATE\)=.*,\1=disabled,' -i '$(1)/configure'
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(SED) 's,^\(INTLTOOL_MERGE\)=.*,\1=disabled,' -i '$(1)/configure'
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 $(SED) 's,^\(INTLTOOL_EXTRACT\)=.*,\1=disabled,' -i '$(1)/configure'
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(SED) 's,require XML::Parser,,' -i '$(1)/configure'
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 # build
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 cd '$(1)' && ./configure \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --host='$(TARGET)' \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --disable-shared \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --prefix='$(PREFIX)/$(TARGET)' \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --disable-nls \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 --disable-gtk-doc \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 --disable-schemas-install \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 --without-python \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --without-gnome-vfs \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 --without-bonobo \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 --with-zlib \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 --with-bz2 \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 --with-gio \
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config'
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
44 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
fd1046f9cebc new package: libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
45 endef