summaryrefslogtreecommitdiffstats
path: root/src/popt.mk
diff options
context:
space:
mode:
authorVolker Grabsch <vog@notjusthosting.com>2009-06-16 20:01:18 (GMT)
committerVolker Grabsch <vog@notjusthosting.com>2009-06-16 20:01:18 (GMT)
commit55e7cdb8d349480614f4a3303f4da57825a439ba (patch)
tree61a314feb3b64087e06d6c4a359cbb00f0e8d5e1 /src/popt.mk
parentcbebadf30138395df7874dad8c3b2eedc6c041cc (diff)
downloadmxe-55e7cdb8d349480614f4a3303f4da57825a439ba.zip
mxe-55e7cdb8d349480614f4a3303f4da57825a439ba.tar.gz
mxe-55e7cdb8d349480614f4a3303f4da57825a439ba.tar.bz2
new package: popt (by Mark Brand)
Diffstat (limited to 'src/popt.mk')
-rw-r--r--src/popt.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/popt.mk b/src/popt.mk
new file mode 100644
index 0000000..8263232
--- /dev/null
+++ b/src/popt.mk
@@ -0,0 +1,26 @@
+# popt
+
+PKG := popt
+$(PKG)_VERSION := 1.15
+$(PKG)_CHECKSUM := d9bc3067a4e7e62ac0bd9818e8cd649ee0dd12dc
+$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
+$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
+$(PKG)_WEBSITE := http://freshmeat.net/projects/popt/
+$(PKG)_URL := http://rpm5.org/files/popt/$($(PKG)_FILE)
+$(PKG)_DEPS := gcc libiconv gettext
+
+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 \
+ --host='$(TARGET)' \
+ --disable-shared \
+ --prefix='$(PREFIX)/$(TARGET)' \
+ --enable-nls
+ $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
+endef