summaryrefslogtreecommitdiff
path: root/package/gettext-tiny/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-01 15:26:49 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2013-11-01 15:26:49 +0100
commit0e19731bdf514eabf6a31ece3d4f59c84c11f3a2 (patch)
tree4f967f08fe59b3f5c4acf2e0d82d15c564f8d773 /package/gettext-tiny/Makefile
parentcaec12548668dd7dd564ce732d8c77a76dfe4788 (diff)
allow gettext-tiny host compile with HOST_STYLE=manual
Diffstat (limited to 'package/gettext-tiny/Makefile')
-rw-r--r--package/gettext-tiny/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/gettext-tiny/Makefile b/package/gettext-tiny/Makefile
index ecd237c1b..1cb94100b 100644
--- a/package/gettext-tiny/Makefile
+++ b/package/gettext-tiny/Makefile
@@ -15,10 +15,18 @@ PKG_OPTS:= dev
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,GETTEXT_TINY,gettext-tiny,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,GETTEXT_TINY,gettext-tiny,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
+HOST_STYLE:= manual
CONFIG_STYLE:= manual
+gettext-tiny-hostinstall:
+ ${CP} ${WRKBUILD}/include/libintl.h ${STAGING_HOST_DIR}/usr/include
+ ${CP} ${WRKBUILD}/libintl.a ${STAGING_HOST_DIR}/usr/lib
+
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk