mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
Add sed package
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
4343a8d8b6
commit
944a1c7f65
3 changed files with 30 additions and 0 deletions
|
@ -11,3 +11,4 @@ bzip2
|
||||||
tar
|
tar
|
||||||
diffutils
|
diffutils
|
||||||
findutils
|
findutils
|
||||||
|
sed
|
||||||
|
|
|
@ -14,3 +14,4 @@ bzip2
|
||||||
tar
|
tar
|
||||||
diffutils
|
diffutils
|
||||||
findutils
|
findutils
|
||||||
|
sed
|
||||||
|
|
28
pkg/sed/build
Executable file
28
pkg/sed/build
Executable file
|
@ -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"
|
||||||
|
}
|
Loading…
Reference in a new issue