summaryrefslogtreecommitdiff
path: root/package/gperf/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-08 12:58:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-08 12:58:54 +0100
commitf3e1c3cf993b0ba54afa0ff9552ffefd39828b23 (patch)
tree1f5d52b7dff4a5c60e17c8f0fd7f7412c946a0ee /package/gperf/Makefile
parentd77656116191a166ed0477cf16830480a2406fc5 (diff)
parentd93c019f2cfdf53be59f02600cc25c547ba24edc (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gperf/Makefile')
-rw-r--r--package/gperf/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/gperf/Makefile b/package/gperf/Makefile
index 567613f8d..cfc0aa2f5 100644
--- a/package/gperf/Makefile
+++ b/package/gperf/Makefile
@@ -9,16 +9,22 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= c1f1db32fb6598d6a93e6e88796a8632
PKG_DESCR:= perfect hash function generator
PKG_SECTION:= lang
+PKG_BUILDDEP:= gperf-host
PKG_DEPENDS:= libstdc++
PKG_URL:= http://www.gnu.org/software/gperf/
PKG_SITES:= ${MASTER_SITE_GNU:=${PKG_NAME}/}
+include ${TOPDIR}/mk/host.mk
include ${TOPDIR}/mk/package.mk
+$(eval $(call HOST_template,GPERF,gperf,${PKG_VERSION}-${PKG_RELEASE}))
$(eval $(call PKG_template,GPERF,gperf,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+HOST_STYLE:= auto
+
gperf-install:
${INSTALL_DIR} ${IDIR_GPERF}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/gperf ${IDIR_GPERF}/usr/bin
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk