Mercurial > mxe-octave
annotate src/libgsf.mk @ 2349:f48c5b085a38
Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Thu, 29 Mar 2012 11:07:07 +0200 |
parents | f653602a0500 |
children | 99516e73b368 |
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. |
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 := |
2315
2b5ea5239144
update packages libgsf, libxml++
Tony Theodore <tonyt@logyst.com>
parents:
1888
diff
changeset
|
7 $(PKG)_CHECKSUM := ca1c5aa92a840e322d7cafd9f2dede3d38a69660 |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
300
diff
changeset
|
8 $(PKG)_SUBDIR := libgsf-$($(PKG)_VERSION) |
2315
2b5ea5239144
update packages libgsf, libxml++
Tony Theodore <tonyt@logyst.com>
parents:
1888
diff
changeset
|
9 $(PKG)_FILE := libgsf-$($(PKG)_VERSION).tar.xz |
306
85ffa9259036
validate downloads using SHA-1 checksums
Volker Grabsch <vog@notjusthosting.com>
parents:
300
diff
changeset
|
10 $(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
|
11 $(PKG)_DEPS := gcc zlib bzip2 glib libxml2 |
263 | 12 |
13 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
|
14 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
|
15 grep '<a href=' | \ |
f1d598a04351
avoid beta versions of packages atk and libgsf (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
801
diff
changeset
|
16 $(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
|
17 $(SED) 's,_,.,g' | \ |
263 | 18 head -1 |
19 endef | |
20 | |
21 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
|
22 $(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
|
23 echo 'Libs.private: -lz -lbz2' >> '$(1)'/libgsf-1.pc.in |
263 | 24 cd '$(1)' && ./configure \ |
25 --host='$(TARGET)' \ | |
26 --disable-shared \ | |
27 --prefix='$(PREFIX)/$(TARGET)' \ | |
28 --disable-nls \ | |
29 --disable-gtk-doc \ | |
30 --disable-schemas-install \ | |
31 --without-python \ | |
32 --without-gnome-vfs \ | |
33 --without-bonobo \ | |
34 --with-zlib \ | |
35 --with-bz2 \ | |
36 --with-gio \ | |
37 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
|
38 $(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
|
39 $(MAKE) -C '$(1)/gsf' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= |
263 | 40 endef |