summaryrefslogtreecommitdiffstats
path: root/src/libtool.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2010-04-10 04:28:41 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2010-04-10 04:28:41 (GMT)
commit772edcfff511008f433920254bafea47b3d0e9a0 (patch)
tree6050bb11ef894098888b7724148ab2a706f73f4c /src/libtool.mk
parent2efe10088df9055795afd177b1a41adf9b137cbf (diff)
downloadmxe-772edcfff511008f433920254bafea47b3d0e9a0.zip
mxe-772edcfff511008f433920254bafea47b3d0e9a0.tar.gz
mxe-772edcfff511008f433920254bafea47b3d0e9a0.tar.bz2
new package: libtool
Diffstat (limited to 'src/libtool.mk')
-rw-r--r--src/libtool.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/libtool.mk b/src/libtool.mk
new file mode 100644
index 0000000..a4eada0
--- /dev/null
+++ b/src/libtool.mk
@@ -0,0 +1,30 @@
+# This file is part of mingw-cross-env.
+# See doc/index.html for further information.
+
+# GNU Libtool
+PKG := libtool
+$(PKG)_IGNORE :=
+$(PKG)_VERSION := 2.2.6b
+$(PKG)_CHECKSUM := 5afa73c8ef9ebe64bbb438a0f8779c9036e43c55
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/
+$(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc
+
+define $(PKG)_UPDATE
+ wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \
+ grep '<a class="list name"' | \
+ $(SED) -n 's,.*<a[^>]*>v\([0-9][^<]*\)<.*,\1,p' | \
+ head -1
+endef
+
+define $(PKG)_BUILD
+ cd '$(1)/libltdl' && ./configure \
+ --host='$(TARGET)' \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --disable-shared \
+ --enable-ltdl-install
+ $(MAKE) -C '$(1)/libltdl' -j '$(JOBS)'
+ $(MAKE) -C '$(1)/libltdl' -j 1 install
+endef