blob: 01676ad548ed5639aaa8ea50b4c1c2d11fe9256f (
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
|
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := popt
$(PKG)_WEBSITE := http://freshmeat.net/projects/popt/
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.16
$(PKG)_CHECKSUM := e728ed296fe9f069a0e005003c3d6b2dde3d9cad453422a10d6558616d304cc8
$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://rpm5.org/files/popt/$($(PKG)_FILE)
$(PKG)_URL_2 := http://ftp.debian.org/debian/pool/main/p/$(PKG)/$(PKG)_$($(PKG)_VERSION).orig.tar.gz
$(PKG)_DEPS := gcc gettext libiconv
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://rpm5.org/files/popt/' | \
grep 'popt-' | \
$(SED) -n 's,.*popt-\([0-9][^>]*\)\.tar.*,\1,p' | \
tail -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--enable-nls
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef
|