diff --git a/cfg/alix/SQUASHFS b/cfg/alix/SQUASHFS index ec44bee..b5f0a6f 100644 --- a/cfg/alix/SQUASHFS +++ b/cfg/alix/SQUASHFS @@ -5,5 +5,7 @@ nano util-linux grep less +xz gzip bzip2 +tar diff --git a/cfg/rpi3/SQUASHFS b/cfg/rpi3/SQUASHFS index b682e9e..62c24de 100644 --- a/cfg/rpi3/SQUASHFS +++ b/cfg/rpi3/SQUASHFS @@ -8,5 +8,7 @@ util-linux kmod grep less +xz gzip bzip2 +tar diff --git a/pkg/tar/build b/pkg/tar/build new file mode 100755 index 0000000..85c59c0 --- /dev/null +++ b/pkg/tar/build @@ -0,0 +1,29 @@ +VERSION="1.30" +SRCDIR="tar-${VERSION}" +TARBALL="${SRCDIR}.tar.xz" +URL="https://ftp.gnu.org/gnu/tar/" +SHA256SUM="f1bf92dbb1e1ab27911a861ea8dde8208ee774866c46c0bb6ead41f4d1f4d2d3" + +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/info" + rm -r "$DEPLOY/share/man" +} diff --git a/pkg/tar/depends b/pkg/tar/depends new file mode 100644 index 0000000..5751c41 --- /dev/null +++ b/pkg/tar/depends @@ -0,0 +1,3 @@ +xz +gzip +bzip2