Add GNU sed

This commit is contained in:
sin 2013-09-24 17:17:46 +01:00
parent e2efb538de
commit b5e5a63d2e
2 changed files with 24 additions and 1 deletions

View File

@ -41,7 +41,6 @@ install() {
ln -s busybox pkill
ln -s busybox poweroff
ln -s busybox reboot
ln -s busybox sed
ln -s busybox sysctl
ln -s busybox tac
ln -s busybox telnet

24
pkgs/sed Normal file
View File

@ -0,0 +1,24 @@
url=$mirror/sed-4.2.tar.gz
fetch() {
wget -c $url -O src/sed-4.2.tar.gz
}
unpack() {
pushd src
[ -d sed-4.2 ] || tar xzf sed-4.2.tar.gz
popd
}
build() {
pushd src/sed-4.2
CC="musl-gcc -static" ./configure --prefix=$root --disable-nls || return 1
make -j$nprocs || return 1
popd
}
install() {
pushd src/sed-4.2
make install || return 1
popd
}