Makefile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME= gettext
  5. PKG_VERSION= 0.18.1.1
  6. PKG_RELEASE= 1
  7. PKG_MD5SUM:= 3dd55b952826d2b32f51308f2f91aa89
  8. PKG_DESCR:= internationalisation library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libiconv libpthread
  11. PKG_BUILDDEP:= libiconv libpthread
  12. PKG_URL:= http://www.gnu.org/software/gettext/
  13. PKG_SITES:= ${MASTER_SITE_GNU:=gettext/}
  14. ifeq ($(ADK_STATIC),y)
  15. PKG_OPTS:= libonly
  16. endif
  17. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}/gettext-runtime
  18. include ${TOPDIR}/mk/package.mk
  19. $(eval $(call PKG_template,GETTEXT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. CONFIGURE_ARGS+= --disable-java \
  21. --disable-native-java \
  22. --disable-csharp \
  23. --enable-nls \
  24. --disable-libasprintf \
  25. --enable-threads=posix \
  26. --disable-openmp \
  27. --with-libiconv-prefix='${STAGING_DIR}/usr' \
  28. --with-included-gettext \
  29. --without-emacs
  30. CONFIGURE_ENV+= nls_cv_use_gnu_gettext=yes \
  31. ac_cv_gnu_library_2=no \
  32. gt_use_preinstalled_gnugettext=no
  33. post-install:
  34. ${INSTALL_DIR} ${IDIR_GETTEXT}/usr/lib ${IDIR_GETTEXT}/usr/bin
  35. ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_GETTEXT}/usr/lib
  36. $(INSTALL_BIN) $(WRKINST)/usr/bin/gettext \
  37. $(IDIR_GETTEXT)/usr/bin
  38. include ${TOPDIR}/mk/pkg-bottom.mk