Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= gettext-tiny
  5. PKG_VERSION:= 0.0.4
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 09f6a74945df5961080234f7851f352c
  8. PKG_DESCR:= gettext stub and replacement
  9. PKG_SECTION:= libs/misc
  10. PKG_BUILDDEP:= gettext-tiny-host
  11. PKG_URL:= https://github.com/rofl0r/gettext-tiny
  12. PKG_SITES:= http://ftp.barfooze.de/pub/sabotage/tarballs/
  13. PKG_OPTS:= dev
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(ADK_TOPDIR)/mk/host.mk
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call HOST_template,GETTEXT_TINY,gettext-tiny,$(PKG_VERSION)-${PKG_RELEASE}))
  18. $(eval $(call PKG_template,GETTEXT_TINY,gettext-tiny,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  19. HOST_STYLE:= manual
  20. CONFIG_STYLE:= manual
  21. host-build:
  22. (cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
  23. ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
  24. gettext-tiny-hostinstall:
  25. ${CP} ${WRKBUILD}/include/libintl.h ${STAGING_HOST_DIR}/usr/include
  26. ${CP} ${WRKBUILD}/libintl.a ${STAGING_HOST_DIR}/usr/lib
  27. ${CP} ${WRKBUILD}/{msgfmt,xgettext,msgmerge} ${STAGING_HOST_DIR}/usr/bin
  28. include ${ADK_TOPDIR}/mk/host-bottom.mk
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk