summaryrefslogtreecommitdiff
path: root/package/findutils
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-30 19:49:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-30 19:49:07 +0200
commit712a7998a6e64638154c2cc3b3262b0881ca0138 (patch)
treea8cb06c8f87a571b4132ca5ce1280316df321d5e /package/findutils
parent2615fde640b4420ab281006b996360ae7efb2e82 (diff)
add findutils do host machinery
Diffstat (limited to 'package/findutils')
-rw-r--r--package/findutils/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/findutils/Makefile b/package/findutils/Makefile
index d89ca77ea..57fdf77b3 100644
--- a/package/findutils/Makefile
+++ b/package/findutils/Makefile
@@ -7,7 +7,7 @@ PKG_NAME:= findutils
PKG_VERSION:= 4.4.2
PKG_RELEASE:= 4
PKG_MD5SUM:= 351cc4adb07d54877fa15f75fb77d39f
-PKG_DESCR:= GNU utilities for finding files
+PKG_DESCR:= utilities for finding files
PKG_SECTION:= utils
PKG_DEPENDS:= libpthread
PKG_BUILDDEP:= autotool
@@ -18,12 +18,15 @@ PKG_SUBPKGS:= FIND XARGS LOCATE
PKGSD_LOCATE:= locate utility
PKGSD_XARGS:= xargs utility
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,FINDUTILS,findutils,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,FIND,find,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
$(eval $(call PKG_template,XARGS,xargs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_XARGS},${PKG_SECTION}))
$(eval $(call PKG_template,LOCATE,locate,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LOCATE},${PKG_SECTION}))
+HOST_STYLE:= auto
AUTOTOOL_STYLE:= autoreconf
CONFIGURE_ENV+= gl_cv_func_wcwidth_works=yes \
ac_cv_func_working_mktime=yes
@@ -44,4 +47,5 @@ locate-install:
$(INSTALL_BIN) $(WRKINST)/usr/libexec/{bigram,code,frcode} \
$(IDIR_LOCATE)/usr/libexec
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk