Mercurial > mxe-octave
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 |
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 | 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 | 14 |
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 | 19 head -1 |
20 endef | |
21 | |
22 define $(PKG)_BUILD | |
23 # Don't search for intltool | |
24 $(SED) 's,\(INTLTOOL_APPLIED_VERSION\)=.*,\1=0.35.0,' -i '$(1)/configure' | |
25 $(SED) 's,^\(INTLTOOL_UPDATE\)=.*,\1=disabled,' -i '$(1)/configure' | |
26 $(SED) 's,^\(INTLTOOL_MERGE\)=.*,\1=disabled,' -i '$(1)/configure' | |
27 $(SED) 's,^\(INTLTOOL_EXTRACT\)=.*,\1=disabled,' -i '$(1)/configure' | |
28 $(SED) 's,require XML::Parser,,' -i '$(1)/configure' | |
29 # build | |
30 cd '$(1)' && ./configure \ | |
31 --host='$(TARGET)' \ | |
32 --disable-shared \ | |
33 --prefix='$(PREFIX)/$(TARGET)' \ | |
34 --disable-nls \ | |
35 --disable-gtk-doc \ | |
36 --disable-schemas-install \ | |
37 --without-python \ | |
38 --without-gnome-vfs \ | |
39 --without-bonobo \ | |
40 --with-zlib \ | |
41 --with-bz2 \ | |
42 --with-gio \ | |
43 PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' | |
44 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= | |
45 endef |