blob: 558a6dd6af1d156de43e479cc435c1b12f37c0e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# This file is part of MXE.
# See index.html for further information.
PKG := libtool
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.4.2
$(PKG)_CHECKSUM := 22b71a8b5ce3ad86e1094e7285981cae10e6ff88
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/libtool/?C=M;O=D' | \
$(SED) -n 's,.*<a href="libtool-\([0-9][^"]*\)\.tar.*,\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
|