mirror of https://git.wownero.com/dsc/mxe.git
26 lines
796 B
Makefile
26 lines
796 B
Makefile
# This file is part of MXE.
|
|
# See index.html for further information.
|
|
|
|
PKG := libtool
|
|
$(PKG)_IGNORE :=
|
|
$(PKG)_VERSION := 2.4.4
|
|
$(PKG)_CHECKSUM := bba19e682d80941cfb7467689dda2ad9f8f50494
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
|
$(PKG)_URL := http://ftp.gnu.org/gnu/$(PKG)/$($(PKG)_FILE)
|
|
$(PKG)_DEPS := autoconf automake
|
|
|
|
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_$(BUILD)
|
|
mkdir '$(1).build'
|
|
cd '$(1).build' && '$(1)/configure' \
|
|
--prefix='$(PREFIX)/$(TARGET)'
|
|
$(MAKE) -C '$(1).build' -j '$(JOBS)'
|
|
$(MAKE) -C '$(1).build' -j 1 install
|
|
endef
|