annotate src/libtool.mk @ 841:ac7b800362f9

new package: libtool
author Volker Grabsch <vog@notjusthosting.com>
date Sat, 10 Apr 2010 06:28:41 +0200
parents
children 38bd5aef58a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
841
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # GNU Libtool
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := libtool
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 2.2.6b
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 5afa73c8ef9ebe64bbb438a0f8779c9036e43c55
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://www.gnu.org/software/$(PKG)/
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 $(PKG)_DEPS := gcc
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 wget -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 grep '<a class="list name"' | \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,.*<a[^>]*>v\([0-9][^<]*\)<.*,\1,p' | \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)/libltdl' && ./configure \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)' \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --disable-shared \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --enable-ltdl-install
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 $(MAKE) -C '$(1)/libltdl' -j '$(JOBS)'
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 $(MAKE) -C '$(1)/libltdl' -j 1 install
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 endef