summaryrefslogtreecommitdiff
path: root/package/gettext
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-10-11 19:36:32 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-10-11 19:36:32 +0200
commit6d26b19269a28ff576e872473cb3b4610a61fceb (patch)
treed93378254682782dbe0175dcf69edb1fbf65dbe3 /package/gettext
parentb45a02c444117a90d202706013d71a56813990e1 (diff)
make more apps statically linkable
- update libusb to latest upstream - update bluez to latest upstream - add a new PKG_OPTS option: libonly, useful for library only packages, which are not created, when static linking is choosen
Diffstat (limited to 'package/gettext')
-rw-r--r--package/gettext/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/package/gettext/Makefile b/package/gettext/Makefile
index 04e1bf06c..6d1349a0c 100644
--- a/package/gettext/Makefile
+++ b/package/gettext/Makefile
@@ -11,15 +11,18 @@ PKG_DESCR:= internationalisation library
PKG_SECTION:= libs
PKG_DEPENDS:= libiconv libpthread
PKG_URL:= http://www.gnu.org/software/gettext/
-PKG_SITES= ${MASTER_SITE_GNU:=gettext/}
+PKG_SITES:= ${MASTER_SITE_GNU:=gettext/}
+ifeq ($(ADK_STATIC),y)
+PKG_OPTS:= libonly
+endif
WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}/gettext-runtime
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,GETTEXT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,GETTEXT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-CONFIGURE_STYLE= gnu
+CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --disable-java \
--disable-native-java \
--disable-csharp \
@@ -33,8 +36,8 @@ CONFIGURE_ARGS+= --disable-java \
CONFIGURE_ENV+= nls_cv_use_gnu_gettext=yes \
ac_cv_gnu_library_2=no \
gt_use_preinstalled_gnugettext=no
-BUILD_STYLE= auto
-INSTALL_STYLE= auto confprog
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
post-install:
${INSTALL_DIR} ${IDIR_GETTEXT}/usr/lib