Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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.16.1
  6. PKG_RELEASE= 1
  7. PKG_MD5SUM= 3d9ad24301c6d6b17ec30704a13fe127
  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
  35. ${CP} ${WRKINST}/usr/lib/*.so* ${IDIR_GETTEXT}/usr/lib
  36. include ${TOPDIR}/mk/pkg-bottom.mk