diff options
author | davidovski <david@davidovski.xyz> | 2022-04-20 22:40:49 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-04-20 22:40:49 +0000 |
commit | 1084afc3c4d9c83e61620de60ba59a4393a33cb0 (patch) | |
tree | 17b2e37df0f1d61a83566fda5f707faffab54628 /repo/system/findutils.xibuild | |
parent | c35d083dc525e223b085ec00e6863ea6eafb003c (diff) |
fixed create to work within env
Diffstat (limited to 'repo/system/findutils.xibuild')
-rw-r--r-- | repo/system/findutils.xibuild | 19 |
1 files changed, 9 insertions, 10 deletions
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 } |