Mercurial > mxe-octave
annotate src/libglade.mk @ 2566:13c54fdfba7f
libglade : move autoreconf result from patch and put command in .mk file
author | William <r.3@libertysurf.fr> |
---|---|
date | Sun, 17 Jun 2012 17:08:35 +0200 |
parents | 9b2fb0f5e812 |
children | d92fc97479a2 |
rev | line source |
---|---|
2563 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := libglade | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_CHECKSUM := 3cc65ed13c10025780488935313329170baa33c6 | |
7 $(PKG)_SUBDIR := libglade-$($(PKG)_VERSION) | |
8 $(PKG)_FILE := libglade-$($(PKG)_VERSION).tar.gz | |
9 $(PKG)_URL := http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/$($(PKG)_FILE) | |
10 $(PKG)_DEPS := gcc libxml2 atk glib gtk2 | |
11 | |
12 define $(PKG)_UPDATE | |
13 wget -q -O- 'http://ftp.gnome.org/pub/GNOME/sources/libglade/2.6/' | \ | |
14 $(SED) -n 's,.*"libglade-\([0-9][^"]*\)\.tar.gz.*,\1,p' | \ | |
15 tail -1 | |
16 endef | |
17 | |
18 define $(PKG)_BUILD | |
2566
13c54fdfba7f
libglade : move autoreconf result from patch and put command in .mk file
William <r.3@libertysurf.fr>
parents:
2564
diff
changeset
|
19 cd '$(1)' && autoreconf -fi |
2563 | 20 cd '$(1)' && ./configure \ |
21 --host='$(TARGET)' \ | |
22 --build="`config.guess`" \ | |
23 --disable-shared \ | |
24 --prefix='$(PREFIX)/$(TARGET)' | |
25 cd '$(1)' && make install | |
26 endef |