Mercurial > mxe-octave
annotate src/libgsf.mk @ 1689:5cb2cefa4cc8
update package libgsf
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Fri, 25 Mar 2011 18:53:06 +0100 |
parents | ff292993b8f5 |
children | 94df9b4e71ae |
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. |
714
29f1ba4559ae
point consequently to "doc/index.html" instead of "doc/index.html or doc/README"
Volker Grabsch <vog@notjusthosting.com>
parents:
706
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:
306
diff
changeset
|
3 |
263 | 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 := |
1689 | 7 $(PKG)_VERSION := 1.14.20 |
8 $(PKG)_CHECKSUM := d172b454c1b98f9c111df11e000b1ced050bdac9 | |
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 | 14 |
15 define $(PKG)_UPDATE | |
911
f1d598a04351
avoid beta versions of packages atk and libgsf (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
801
diff
changeset
|
16 wget -q -O- 'http://git.gnome.org/browse/libgsf/refs/tags' | \ |
f1d598a04351
avoid beta versions of packages atk and libgsf (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
801
diff
changeset
|
17 grep '<a href=' | \ |
f1d598a04351
avoid beta versions of packages atk and libgsf (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
801
diff
changeset
|
18 $(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
|
19 $(SED) 's,_,.,g' | \ |
263 | 20 head -1 |
21 endef | |
22 | |
23 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
|
24 $(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
|
25 echo 'Libs.private: -lz -lbz2' >> '$(1)'/libgsf-1.pc.in |
801
eb7bd22113c8
update version of package libgsf
Volker Grabsch <vog@notjusthosting.com>
parents:
759
diff
changeset
|
26 cd '$(1)' && aclocal -I m4 |
706
0a976e6b82e3
remove other packages' dependencies on the gettext tool
Volker Grabsch <vog@notjusthosting.com>
parents:
641
diff
changeset
|
27 cd '$(1)' && autoconf |
263 | 28 cd '$(1)' && ./configure \ |
29 --host='$(TARGET)' \ | |
30 --disable-shared \ | |
31 --prefix='$(PREFIX)/$(TARGET)' \ | |
32 --disable-nls \ | |
33 --disable-gtk-doc \ | |
34 --disable-schemas-install \ | |
35 --without-python \ | |
36 --without-gnome-vfs \ | |
37 --without-bonobo \ | |
38 --with-zlib \ | |
39 --with-bz2 \ | |
40 --with-gio \ | |
41 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
|
42 $(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
|
43 $(MAKE) -C '$(1)/gsf' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
263 | 44 endef |