Mercurial > mxe-octave
comparison 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 |
comparison
equal
deleted
inserted
replaced
954:41730f4d56ea | 955:d24321cf0076 |
---|---|
2 # See doc/index.html for further information. | 2 # See doc/index.html for further information. |
3 | 3 |
4 # popt | 4 # popt |
5 PKG := popt | 5 PKG := popt |
6 $(PKG)_IGNORE := | 6 $(PKG)_IGNORE := |
7 $(PKG)_VERSION := 1.15 | 7 $(PKG)_VERSION := 1.16 |
8 $(PKG)_CHECKSUM := d9bc3067a4e7e62ac0bd9818e8cd649ee0dd12dc | 8 $(PKG)_CHECKSUM := cfe94a15a2404db85858a81ff8de27c8ff3e235e |
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | 9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | 10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
11 $(PKG)_WEBSITE := http://freshmeat.net/projects/popt/ | 11 $(PKG)_WEBSITE := http://freshmeat.net/projects/popt/ |
12 $(PKG)_URL := http://rpm5.org/files/popt/$($(PKG)_FILE) | 12 $(PKG)_URL := http://rpm5.org/files/popt/$($(PKG)_FILE) |
13 $(PKG)_DEPS := gcc libiconv gettext | 13 $(PKG)_DEPS := gcc libiconv gettext |
18 $(SED) -n 's,.*popt-\([0-9][^>]*\)\.tar.*,\1,p' | \ | 18 $(SED) -n 's,.*popt-\([0-9][^>]*\)\.tar.*,\1,p' | \ |
19 tail -1 | 19 tail -1 |
20 endef | 20 endef |
21 | 21 |
22 define $(PKG)_BUILD | 22 define $(PKG)_BUILD |
23 cd '$(1)' && aclocal -I m4 | |
24 cd '$(1)' && autoheader | |
25 cd '$(1)' && automake --add-missing | |
26 cd '$(1)' && autoconf | |
27 cd '$(1)' && ./configure \ | 23 cd '$(1)' && ./configure \ |
28 --host='$(TARGET)' \ | 24 --host='$(TARGET)' \ |
29 --disable-shared \ | 25 --disable-shared \ |
30 --prefix='$(PREFIX)/$(TARGET)' \ | 26 --prefix='$(PREFIX)/$(TARGET)' \ |
31 --enable-nls | 27 --enable-nls |