Mercurial > mxe-octave
annotate src/libtool.mk @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | 1093671745df |
children | f48c5b085a38 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2014
diff
changeset
|
1 # This file is part of MXE. |
841 | 2 # See doc/index.html for further information. |
3 | |
4 # GNU Libtool | |
5 PKG := libtool | |
6 $(PKG)_IGNORE := | |
2014
1093671745df
update packages freetype lame libtool x264
Mark Brand <mabrand@mabrand.nl>
parents:
1185
diff
changeset
|
7 $(PKG)_VERSION := 2.4.2 |
1093671745df
update packages freetype lame libtool x264
Mark Brand <mabrand@mabrand.nl>
parents:
1185
diff
changeset
|
8 $(PKG)_CHECKSUM := 22b71a8b5ce3ad86e1094e7285981cae10e6ff88 |
841 | 9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
11 $(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/ | |
12 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE) | |
13 $(PKG)_DEPS := gcc | |
14 | |
15 define $(PKG)_UPDATE | |
1020
38bd5aef58a0
avoid alpha releases of package libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
841
diff
changeset
|
16 wget -q -O- 'http://ftp.gnu.org/gnu/libtool/?C=M;O=D' | \ |
38bd5aef58a0
avoid alpha releases of package libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
841
diff
changeset
|
17 $(SED) -n 's,.*<a href="libtool-\([0-9][^"]*\)\.tar.*,\1,p' | \ |
841 | 18 head -1 |
19 endef | |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)/libltdl' && ./configure \ | |
23 --host='$(TARGET)' \ | |
24 --prefix='$(PREFIX)/$(TARGET)' \ | |
25 --disable-shared \ | |
26 --enable-ltdl-install | |
27 $(MAKE) -C '$(1)/libltdl' -j '$(JOBS)' | |
28 $(MAKE) -C '$(1)/libltdl' -j 1 install | |
29 endef |