diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 18:12:19 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 18:12:19 (GMT) |
commit | 49310e9309cd854d7c66f115a0bbe8e4072ba76d (patch) | |
tree | 5ec8499270977d1f3648eccc072b1eb82aa8ae2c /src/libiconv.mk | |
parent | 78beb3926927cf5aa78dc6e3f199ecc7cdbd23b6 (diff) | |
download | mxe-49310e9309cd854d7c66f115a0bbe8e4072ba76d.zip mxe-49310e9309cd854d7c66f115a0bbe8e4072ba76d.tar.gz mxe-49310e9309cd854d7c66f115a0bbe8e4072ba76d.tar.bz2 |
translated package: libiconv
Diffstat (limited to 'src/libiconv.mk')
-rw-r--r-- | src/libiconv.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/libiconv.mk b/src/libiconv.mk new file mode 100644 index 0000000..04df747 --- /dev/null +++ b/src/libiconv.mk @@ -0,0 +1,25 @@ +# libiconv +# http://www.gnu.org/software/libiconv/ + +PKG := libiconv +$(PKG)_VERSION := 1.11.1 +$(PKG)_SUBDIR := libiconv-$($(PKG)_VERSION) +$(PKG)_FILE := libiconv-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := http://ftp.gnu.org/pub/gnu/libiconv/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'http://ftp.gnu.org/pub/gnu/libiconv/' | \ + $(SED) -n 's,.*libiconv-\([0-9]*\)\.\([0-9]*\)\(\.[0-9]*\)\.tar.*,\1.\2\3,p' | \ + sort -n | \ + tail -1 +endef + +define $(PKG)_BUILD + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + --disable-shared \ + --disable-nls + $(MAKE) -C '$(1)' -j '$(JOBS)' install +endef |