diff --git a/cfg/alix/SQUASHFS b/cfg/alix/SQUASHFS index 1dc7721..32747a6 100644 --- a/cfg/alix/SQUASHFS +++ b/cfg/alix/SQUASHFS @@ -11,3 +11,4 @@ bzip2 tar diffutils findutils +sed diff --git a/cfg/rpi3/SQUASHFS b/cfg/rpi3/SQUASHFS index eaeb13e..6c9fe6f 100644 --- a/cfg/rpi3/SQUASHFS +++ b/cfg/rpi3/SQUASHFS @@ -14,3 +14,4 @@ bzip2 tar diffutils findutils +sed diff --git a/pkg/sed/build b/pkg/sed/build new file mode 100755 index 0000000..8835d27 --- /dev/null +++ b/pkg/sed/build @@ -0,0 +1,28 @@ +VERSION="4.4" +SRCDIR="sed-${VERSION}" +TARBALL="${SRCDIR}.tar.xz" +URL="https://ftp.gnu.org/gnu/sed/" +SHA256SUM="cbd6ebc5aaf080ed60d0162d7f6aeae58211a1ee9ba9bb25623daa6cd942683b" + +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" +}