summaryrefslogtreecommitdiff
path: root/package/findutils/Makefile
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2011-01-07 18:21:38 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-10 10:45:25 +0100
commita0cff11cc294e098e1ceb32542f573a62d010bd3 (patch)
treedeb52234e81a42219cebbffbe37170c04e5debd0 /package/findutils/Makefile
parentf103f434ae31e70bec0dd042c7a2aa351944a3de (diff)
findutils: split locate into it's own package
Signed-off-by: Phil Sutter <phil.sutter@viprinet.com>
Diffstat (limited to 'package/findutils/Makefile')
-rw-r--r--package/findutils/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/package/findutils/Makefile b/package/findutils/Makefile
index d53312381..0f905d67b 100644
--- a/package/findutils/Makefile
+++ b/package/findutils/Makefile
@@ -13,17 +13,23 @@ PKG_DEPENDS:= libpthread
PKG_URL:= http://www.gnu.org/software/findutils/
PKG_SITES:= http://ftp.gnu.org/pub/gnu/findutils/
+PKG_SUBPKGS:= FINDUTILS LOCATE
+PKGSD_LOCATE:= Locate utility
+
include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,FINDUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+$(eval $(call PKG_template,LOCATE,locate,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LOCATE},${PKG_SECTION}))
CONFIGURE_ENV+= gl_cv_func_wcwidth_works=yes
post-install:
- $(INSTALL_DIR) $(IDIR_FINDUTILS)/usr/bin $(IDIR_FINDUTILS)/usr/libexec
- $(INSTALL_BIN) $(WRKINST)/usr/bin/{find,locate,oldfind,updatedb,xargs} \
+ $(INSTALL_DIR) $(IDIR_FINDUTILS)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/{find,oldfind,xargs} \
$(IDIR_FINDUTILS)/usr/bin
+ ${INSTALL_DIR} ${IDIR_LOCATE}/usr/{bin,libexec}
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/{locate,updatedb} ${IDIR_LOCATE}/usr/bin/
$(INSTALL_BIN) $(WRKINST)/usr/libexec/{bigram,code,frcode} \
- $(IDIR_FINDUTILS)/usr/libexec
+ $(IDIR_LOCATE)/usr/libexec
include ${TOPDIR}/mk/pkg-bottom.mk