Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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_URL:= http://www.gnu.org/software/gettext/
  12. PKG_SITES:= ${MASTER_SITE_GNU:=gettext/}
  13. ifeq ($(ADK_STATIC),y)
  14. PKG_OPTS:= libonly
  15. endif
  16. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}/gettext-runtime
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,GETTEXT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. CONFIGURE_STYLE:= gnu
  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. BUILD_STYLE:= auto
  34. INSTALL_STYLE:= auto
  35. post-install:
  36. ${INSTALL_DIR} ${IDIR_GETTEXT}/usr/lib
  37. ${CP} ${WRKINST}/usr/lib/*.so.* ${IDIR_GETTEXT}/usr/lib
  38. include ${TOPDIR}/mk/pkg-bottom.mk