Mercurial > mxe-octave
annotate src/libgsf.mk @ 3929:6cb1bf4d1ab4
osmesa: update path to package
* src/osmesa.mk: update package urk
author | John Donoghue |
---|---|
date | Tue, 05 May 2015 15:08:30 -0400 |
parents | 13be64f9f16d |
children | 979f5b397e51 |
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 := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3184
diff
changeset
|
6 $(PKG)_VERSION := 1.14.27 |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
7 $(PKG)_CHECKSUM := b6082b71bf9d6e1cdafde9628cae58fcedc4a8fd |
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) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := zlib bzip2 glib libxml2 |
263 | 12 |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
13 ifeq ($(MXE_NATIVE_MINGW_BUILD),yes) |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
14 $(PKG)_DEPS += intltool |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
15 endif |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
16 |
263 | 17 define $(PKG)_UPDATE |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
18 $(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
|
19 grep '<a href=' | \ |
f1d598a04351
avoid beta versions of packages atk and libgsf (by Tony Theodore)
Volker Grabsch <vog@notjusthosting.com>
parents:
801
diff
changeset
|
20 $(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
|
21 $(SED) 's,_,.,g' | \ |
263 | 22 head -1 |
23 endef | |
24 | |
25 define $(PKG)_BUILD | |
3184
6c87330db7c6
Update libgsf for native mingw
John Donoghue <john.donoghue@ieee.org>
parents:
3135
diff
changeset
|
26 echo 'Libs.private: -lz -lbz2' >> '$(1)'/libgsf-1.pc.in |
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
|
27 $(SED) -i 's,^\(Requires:.*\),\1 gio-2.0,' '$(1)'/libgsf-1.pc.in |
263 | 28 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
29 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2626
diff
changeset
|
30 $(ENABLE_SHARED_OR_STATIC) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
31 --prefix='$(HOST_PREFIX)' \ |
263 | 32 --disable-nls \ |
33 --disable-gtk-doc \ | |
34 --with-zlib \ | |
35 --with-bz2 \ | |
3135
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
36 PKG_CONFIG='$(MXE_PKG_CONFIG)' \ |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
37 PKG_CONFIG_PATH='$(HOST_LIBDIR)/pkgconfig' \ |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
38 && $(CONFIGURE_POST_HOOK) |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
39 |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
40 $(MAKE) -C '$(1)' -j '$(JOBS)' |
8147e6f8659a
[MSVC] enable libgsf compilation
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3048
diff
changeset
|
41 $(MAKE) -C '$(1)' -j 1 install |
263 | 42 endef |