Makefile 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}/gettext-runtime
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,GETTEXT,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE= gnu
  17. CONFIGURE_ARGS+= --disable-java \
  18. --disable-native-java \
  19. --disable-csharp \
  20. --enable-nls \
  21. --disable-libasprintf \
  22. --enable-threads=posix \
  23. --disable-openmp \
  24. --with-libiconv-prefix='${STAGING_DIR}/usr' \
  25. --with-included-gettext \
  26. --without-emacs
  27. CONFIGURE_ENV+= nls_cv_use_gnu_gettext=yes \
  28. ac_cv_gnu_library_2=no \
  29. gt_use_preinstalled_gnugettext=no
  30. BUILD_STYLE= auto
  31. INSTALL_STYLE= auto confprog
  32. post-install:
  33. ${INSTALL_DIR} ${IDIR_GETTEXT}/usr/lib
  34. ${CP} ${WRKINST}/usr/lib/*.so.* ${IDIR_GETTEXT}/usr/lib
  35. include ${TOPDIR}/mk/pkg-bottom.mk