1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 03:27:10 +01:00
build/pkg/sed/build
David Oberhollenzer ffacb26218 Remove depends file
Instead of having a "depends" file with a list of packages, add a
"DEPENDS" variable to the build script.

Generate the rootfs dependencies from a config file stored in the
cfg directory.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-01-30 14:02:09 +01:00

29 lines
462 B
Text
Executable file

VERSION="4.4"
SRCDIR="sed-${VERSION}"
TARBALL="${SRCDIR}.tar.xz"
URL="https://ftp.gnu.org/gnu/sed/"
SHA256SUM="cbd6ebc5aaf080ed60d0162d7f6aeae58211a1ee9ba9bb25623daa6cd942683b"
DEPENDS=""
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"
}