diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 17:46:08 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2008-11-08 17:46:08 (GMT) |
commit | 1c22349f2dde7b279bde4cd80915d4c3ea3eb920 (patch) | |
tree | e96883f449f9546f2624b824a7e3d7842bc808a3 /src | |
parent | b6720b8999567b0bfd0d69806845978bf2e3ba60 (diff) | |
download | mxe-1c22349f2dde7b279bde4cd80915d4c3ea3eb920.zip mxe-1c22349f2dde7b279bde4cd80915d4c3ea3eb920.tar.gz mxe-1c22349f2dde7b279bde4cd80915d4c3ea3eb920.tar.bz2 |
translated package: gettext
Diffstat (limited to 'src')
-rw-r--r-- | src/gettext.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/gettext.mk b/src/gettext.mk new file mode 100644 index 0000000..dae8509 --- /dev/null +++ b/src/gettext.mk @@ -0,0 +1,25 @@ +# gettext +# http://www.gnu.org/software/gettext/ + +PKG := gettext +$(PKG)_VERSION := 0.17 +$(PKG)_SUBDIR := gettext-$($(PKG)_VERSION)/gettext-runtime +$(PKG)_FILE := gettext-$($(PKG)_VERSION).tar.gz +$(PKG)_URL := ftp://ftp.gnu.org/pub/gnu/gettext/$($(PKG)_FILE) +$(PKG)_DEPS := gcc + +define $(PKG)_UPDATE + wget -q -O- 'ftp://ftp.gnu.org/pub/gnu/gettext/' | \ + $(SED) -n 's,.*gettext-\([0-9][^>]*\)\.tar.*,\1,p' | \ + sort | \ + tail -1 +endef + +define $(PKG)_BUILD + cd '$(2)' && ./configure \ + --host='$(TARGET)' \ + --disable-shared \ + --prefix='$(PREFIX)/$(TARGET)' \ + --enable-threads=win32 + $(MAKE) -C '$(2)/intl' -j '$(JOBS)' install +endef |