|
|
|
@ -20,46 +20,6 @@ define $(PKG)_UPDATE
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define $(PKG)_BUILD
|
|
|
|
|
# native build of libiconv (used by gettext-tools)
|
|
|
|
|
cd '$(1)' && $(call UNPACK_PKG_ARCHIVE,libiconv)
|
|
|
|
|
cd '$(1)/$(libiconv_SUBDIR)' && ./configure \
|
|
|
|
|
--prefix='$(1)/libiconv' \
|
|
|
|
|
--disable-shared \
|
|
|
|
|
--disable-java \
|
|
|
|
|
--disable-csharp \
|
|
|
|
|
--disable-nls
|
|
|
|
|
$(MAKE) -C '$(1)/$(libiconv_SUBDIR)' -j 1 install
|
|
|
|
|
|
|
|
|
|
# bugfix for gettext
|
|
|
|
|
# This problem will be solved in gettext >= 1.8. See:
|
|
|
|
|
# http://git.savannah.gnu.org/cgit/gettext.git/commit/?id=ecad95f51a11409cc0d30b22913a8ba77d3edf1d
|
|
|
|
|
$(SED) 's/O_CREAT);/O_CREAT, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);/' \
|
|
|
|
|
-i '$(1)/gettext-tools/src/write-catalog.c'
|
|
|
|
|
|
|
|
|
|
# native build for gettext-tools
|
|
|
|
|
cd '$(1)/gettext-tools' && ./configure \
|
|
|
|
|
--disable-shared \
|
|
|
|
|
--prefix='$(PREFIX)' \
|
|
|
|
|
--disable-java \
|
|
|
|
|
--disable-csharp \
|
|
|
|
|
--disable-threads \
|
|
|
|
|
--with-libiconv-prefix='$(1)/libiconv' \
|
|
|
|
|
--with-included-gettext \
|
|
|
|
|
--with-included-glib \
|
|
|
|
|
--with-included-libcroco \
|
|
|
|
|
--with-included-libxml \
|
|
|
|
|
--with-included-regex \
|
|
|
|
|
--without-libpth-prefix \
|
|
|
|
|
--without-libncurses-prefix \
|
|
|
|
|
--without-libtermcap-prefix \
|
|
|
|
|
--without-libxcurses-prefix \
|
|
|
|
|
--without-libcurses-prefix \
|
|
|
|
|
--without-libexpat-prefix \
|
|
|
|
|
--without-emacs
|
|
|
|
|
$(MAKE) -C '$(1)/gettext-tools' -j '$(JOBS)' SHELL=bash
|
|
|
|
|
$(MAKE) -C '$(1)/gettext-tools/src' -j 1 SHELL=bash lib_LTLIBRARIES= install-binPROGRAMS
|
|
|
|
|
|
|
|
|
|
# cross build for gettext-runtime
|
|
|
|
|
cd '$(1)/gettext-runtime' && ./configure \
|
|
|
|
|
--host='$(TARGET)' \
|
|
|
|
|
--disable-shared \
|
|
|
|
|