diff --git a/cfg/alix/SQUASHFS b/cfg/alix/SQUASHFS index b5f0a6f..f9046e6 100644 --- a/cfg/alix/SQUASHFS +++ b/cfg/alix/SQUASHFS @@ -9,3 +9,4 @@ xz gzip bzip2 tar +diffutils diff --git a/cfg/rpi3/SQUASHFS b/cfg/rpi3/SQUASHFS index 62c24de..3c6c1a0 100644 --- a/cfg/rpi3/SQUASHFS +++ b/cfg/rpi3/SQUASHFS @@ -12,3 +12,4 @@ xz gzip bzip2 tar +diffutils diff --git a/pkg/diffutils/build b/pkg/diffutils/build new file mode 100755 index 0000000..6ca813d --- /dev/null +++ b/pkg/diffutils/build @@ -0,0 +1,28 @@ +VERSION="3.6" +SRCDIR="diffutils-${VERSION}" +TARBALL="${SRCDIR}.tar.xz" +URL="https://ftp.gnu.org/gnu/diffutils/" +SHA256SUM="d621e8bdd4b573918c8145f7ae61817d1be9deb4c8d2328a65cea8e11d783bd6" + +prepare() { + return +} + +build() { + local SOURCE="$1" + local BUILD="$2" + + $SOURCE/configure --prefix="" --host="$TARGET" + + make -j $NUMJOBS +} + +deploy() { + local SOURCE="$1" + local BUILD="$2" + local DEPLOY="$3" + + make DESTDIR="$DEPLOY" install-strip + + rm -r "$DEPLOY/share" +}