diff --git a/cfg/alix/SQUASHFS b/cfg/alix/SQUASHFS index f9046e6..1dc7721 100644 --- a/cfg/alix/SQUASHFS +++ b/cfg/alix/SQUASHFS @@ -10,3 +10,4 @@ gzip bzip2 tar diffutils +findutils diff --git a/cfg/rpi3/SQUASHFS b/cfg/rpi3/SQUASHFS index 3c6c1a0..eaeb13e 100644 --- a/cfg/rpi3/SQUASHFS +++ b/cfg/rpi3/SQUASHFS @@ -13,3 +13,4 @@ gzip bzip2 tar diffutils +findutils diff --git a/pkg/findutils/build b/pkg/findutils/build new file mode 100755 index 0000000..8733e06 --- /dev/null +++ b/pkg/findutils/build @@ -0,0 +1,29 @@ +VERSION="4.6.0" +SRCDIR="findutils-${VERSION}" +TARBALL="${SRCDIR}.tar.gz" +URL="https://ftp.gnu.org/gnu/findutils/" +SHA256SUM="ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d" + +prepare() { + return +} + +build() { + local SOURCE="$1" + local BUILD="$2" + + $SOURCE/configure --prefix="" --host="$TARGET" \ + --localstatedir=/var/lib/locate + + make -j $NUMJOBS +} + +deploy() { + local SOURCE="$1" + local BUILD="$2" + local DEPLOY="$3" + + make DESTDIR="$DEPLOY" install-strip + + rm -r "$DEPLOY/share" +}