From 1084afc3c4d9c83e61620de60ba59a4393a33cb0 Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 20 Apr 2022 22:40:49 +0000 Subject: fixed create to work within env --- repo/system/findutils.xibuild | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'repo/system/findutils.xibuild') diff --git a/repo/system/findutils.xibuild b/repo/system/findutils.xibuild index 6850095..1dbc9d3 100644 --- a/repo/system/findutils.xibuild +++ b/repo/system/findutils.xibuild @@ -1,20 +1,19 @@ #!/bin/sh -MAKEDEPS="make " +MAKEDEPS="make sort" DEPS="musl sh" -PKG_VER=4.8.0 -SOURCE=https://ftp.gnu.org/gnu/findutils/findutils-$PKG_VER.tar.xz -DESC="GNU utilities to locate files" +PKG_VER=0.8.6 +SOURCE=http://landley.net/toybox/downloads/toybox-$PKG_VER.tar.gz +DESC="toybox 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 defconfig + make xargs + make find } package () { - make DESTDIR=$PKG_DEST install + install -Dm755 find $PKG_DEST/usr/bin/find + install -Dm755 xargs $PKG_DEST/usr/bin/xargs } -- cgit v1.2.1