2015-01-21 20:01:48 +00:00
|
|
|
# This file is part of MXE.
|
|
|
|
# See index.html for further information.
|
|
|
|
|
|
|
|
PKG := termcap
|
|
|
|
$(PKG)_IGNORE :=
|
|
|
|
$(PKG)_VERSION := 1.3.1
|
2015-09-23 08:27:16 +01:00
|
|
|
$(PKG)_CHECKSUM := 8edf1c51b930262fd466d5fda396dd9d26719100
|
2015-01-21 20:01:48 +00:00
|
|
|
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
|
|
|
|
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
|
|
|
|
$(PKG)_URL := http://ftp.gnu.org/gnu/termcap/$($(PKG)_FILE)
|
|
|
|
$(PKG)_DEPS := gcc
|
|
|
|
|
|
|
|
define $(PKG)_UPDATE
|
2015-06-19 03:45:28 +01:00
|
|
|
$(WGET) -q -O- 'http://ftp.gnu.org/gnu/termcap/' | \
|
|
|
|
grep 'termcap-' | \
|
|
|
|
$(SED) -n 's,.*termcap-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
|
|
|
head -1
|
2015-01-21 20:01:48 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
2015-09-14 06:04:43 +01:00
|
|
|
# configure script is ancient and lacks cross-compiling support
|
|
|
|
cd '$(1)' && autoreconf -fi
|
2015-09-13 06:54:31 +01:00
|
|
|
cd '$(1)' && ./configure \
|
|
|
|
$(MXE_CONFIGURE_OPTS)
|
2015-09-14 06:04:43 +01:00
|
|
|
$(MAKE) -C '$(1)' -j '$(JOBS)' \
|
|
|
|
AR='$(TARGET)-ar' \
|
|
|
|
oldincludedir= \
|
|
|
|
install
|
2015-01-21 20:01:48 +00:00
|
|
|
endef
|