summaryrefslogtreecommitdiff
path: root/repo/system/findutils.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
commitcb447620084a20be80d116c81c2e9ec110be7118 (patch)
tree9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/system/findutils.xibuild
parent153011e9129c6055ef21c48caf65a23e74a91418 (diff)
restructured repo system
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
+}