Mercurial > mxe-octave
view src/popt.mk @ 955:d24321cf0076
upgrade package popt
Much easier now that we don't need gnulib here.
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Wed, 12 May 2010 01:15:55 +0200 |
parents | 29f1ba4559ae |
children | 95dbc6448b56 |
line wrap: on
line source
# This file is part of mingw-cross-env. # See doc/index.html for further information. # popt PKG := popt $(PKG)_IGNORE := $(PKG)_VERSION := 1.16 $(PKG)_CHECKSUM := cfe94a15a2404db85858a81ff8de27c8ff3e235e $(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