annotate src/libtool.mk @ 2349:f48c5b085a38

Move $(PKG)_VERSION and $(PKG)_WEBSITE from src/*.mk into doc/index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 11:07:07 +0200
parents f653602a0500
children 99516e73b368
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
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 :=
2014
1093671745df update packages freetype lame libtool x264
Mark Brand <mabrand@mabrand.nl>
parents: 1185
diff changeset
7 $(PKG)_CHECKSUM := 22b71a8b5ce3ad86e1094e7285981cae10e6ff88
841
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_DEPS := gcc
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
1020
38bd5aef58a0 avoid alpha releases of package libtool
Volker Grabsch <vog@notjusthosting.com>
parents: 841
diff changeset
14 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
15 $(SED) -n 's,.*<a href="libtool-\([0-9][^"]*\)\.tar.*,\1,p' | \
841
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 head -1
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)/libltdl' && ./configure \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21 --host='$(TARGET)' \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 --prefix='$(PREFIX)/$(TARGET)' \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 --disable-shared \
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --enable-ltdl-install
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)/libltdl' -j '$(JOBS)'
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 $(MAKE) -C '$(1)/libltdl' -j 1 install
ac7b800362f9 new package: libtool
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 endef