summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2010-01-20 19:34:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-20 21:49:02 +0100
commit602ac316073fd53d7020187ecc4075a5bb7cd2ba (patch)
treef677e87b7fe3e7eb959717ddc27acf1528efa89f
parentabed4c14e716e4870e6f5c38ea7f69bd7fe9bead (diff)
port findutils
-rw-r--r--package/Config.in1
-rw-r--r--package/findutils/Makefile33
2 files changed, 34 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index dadce220f..a29decfdd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -150,6 +150,7 @@ source "package/bc/Config.in"
source "package/comgt/Config.in"
source "package/fbset/Config.in"
source "package/file/Config.in"
+source "package/findutils/Config.in"
source "package/hdparm/Config.in"
source "package/usbutils/Config.in"
source "package/patch/Config.in"
diff --git a/package/findutils/Makefile b/package/findutils/Makefile
new file mode 100644
index 000000000..69f7f0e57
--- /dev/null
+++ b/package/findutils/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= findutils
+PKG_VERSION:= 4.4.2
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 351cc4adb07d54877fa15f75fb77d39f
+PKG_DESCR:= GNU utilities for finding files
+PKG_SECTION:= utils
+PKG_DEPENDS:= libpthread
+PKG_URL:= http://www.gnu.org/software/findutils/
+PKG_SITES:= http://ftp.gnu.org/pub/gnu/findutils/
+
+# FIXME: test this port with some libc different from glibc
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,FINDUTILS,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_STYLE:= gnu
+# the following prevents gnulib from defining it's own fseeko (which conflicts with the libc one)
+CONFIGURE_ENV+= gl_cv_func_wcwidth_works=yes
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ $(INSTALL_DIR) $(IDIR_FINDUTILS)/usr/{s,}bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/{find,locate,oldfind,updatedb,xargs} $(IDIR_FINDUTILS)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/{bigram,code,frcode} $(IDIR_FINDUTILS)/usr/sbin
+
+include ${TOPDIR}/mk/pkg-bottom.mk