summaryrefslogtreecommitdiff
path: root/package/gperf
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-12-21 21:37:59 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2013-12-21 21:37:59 +0100
commitca463b87887d8151b83d222dc35d461991c1dd63 (patch)
tree5fd14a2e1f57e17214ee81e47c74bd4e4115e104 /package/gperf
parent414cf52c44c7caf09565c9286b9326ac8ac63428 (diff)
another musl fix round
Diffstat (limited to 'package/gperf')
-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