Makefile 1.3 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.16.1
  6. PKG_RELEASE= 1
  7. PKG_BUILDDEP+= libiconv libpthread
  8. PKG_MD5SUM= 3d9ad24301c6d6b17ec30704a13fe127
  9. PKG_DESCR:= internationalisation library
  10. PKG_SECTION:= libs
  11. PKG_DEPENDS:= 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_STYLE:= gnu
  21. CONFIGURE_ARGS+= --disable-java \
  22. --disable-native-java \
  23. --disable-csharp \
  24. --enable-nls \
  25. --disable-libasprintf \
  26. --enable-threads=posix \
  27. --disable-openmp \
  28. --with-libiconv-prefix='${STAGING_DIR}/usr' \
  29. --with-included-gettext \
  30. --without-emacs
  31. CONFIGURE_ENV+= nls_cv_use_gnu_gettext=yes \
  32. ac_cv_gnu_library_2=no \
  33. gt_use_preinstalled_gnugettext=no
  34. BUILD_STYLE:= auto
  35. INSTALL_STYLE:= auto
  36. post-install:
  37. ${INSTALL_DIR} ${IDIR_GETTEXT}/usr/lib
  38. ${CP} ${WRKINST}/usr/lib/*.so.* ${IDIR_GETTEXT}/usr/lib
  39. include ${TOPDIR}/mk/pkg-bottom.mk