mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 13:28:35 +00:00
Add GNU sed
This commit is contained in:
parent
e2efb538de
commit
b5e5a63d2e
@ -41,7 +41,6 @@ install() {
|
|||||||
ln -s busybox pkill
|
ln -s busybox pkill
|
||||||
ln -s busybox poweroff
|
ln -s busybox poweroff
|
||||||
ln -s busybox reboot
|
ln -s busybox reboot
|
||||||
ln -s busybox sed
|
|
||||||
ln -s busybox sysctl
|
ln -s busybox sysctl
|
||||||
ln -s busybox tac
|
ln -s busybox tac
|
||||||
ln -s busybox telnet
|
ln -s busybox telnet
|
||||||
|
24
pkgs/sed
Normal file
24
pkgs/sed
Normal 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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user