summaryrefslogtreecommitdiff
path: root/repo/system/findutils.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/findutils.xibuild')
-rw-r--r--repo/system/findutils.xibuild16
1 files changed, 16 insertions, 0 deletions
diff --git a/repo/system/findutils.xibuild b/repo/system/findutils.xibuild
new file mode 100644
index 0000000..d8fd39c
--- /dev/null
+++ b/repo/system/findutils.xibuild
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+DEPS=(glibc sh)
+
+SOURCE=https://ftp.gnu.org/gnu/findutils/findutils-4.8.0.tar.xz
+DESC="GNU utilities to locate files"
+
+build () {
+ case $(uname -m) in
+ i?86) TIME_T_32_BIT_OK=yes ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
+ x86_64) ./configure --prefix=/usr --localstatedir=/var/lib/locate ;;
+ esac
+
+ make
+ make DESTDIR=$PKG_DEST install
+}