morpheus

suckless linux distro
git clone git://git.2f30.org/morpheus
Log | Files | Refs | Submodules | README | LICENSE

commit 4eb3e5ab4beadc9076ef6b25e7b1696e712564b1
parent b5e5a63d2ef084c41af07cecca1eb825aefc2f07
Author: sin <sin@2f30.org>
Date:   Tue, 24 Sep 2013 17:24:16 +0100

Add GNU wget

Diffstat:
Mpkgs/busybox | 1-
Apkgs/wget | 24++++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletion(-)

diff --git a/pkgs/busybox b/pkgs/busybox @@ -48,7 +48,6 @@ install() { ln -s busybox tftpd ln -s busybox top ln -s busybox vi - ln -s busybox wget popd popd } diff --git a/pkgs/wget b/pkgs/wget @@ -0,0 +1,24 @@ +url=$mirror/wget-1.14.tar.gz + +fetch() { + wget -c $url -O src/wget-1.14.tar.gz +} + +unpack() { + pushd src + [ -d wget-1.14 ] || tar xzf wget-1.14.tar.gz + popd +} + +build() { + pushd src/wget-1.14 + CC="musl-gcc -static" ./configure --prefix=$root --without-ssl || return 1 + make -j$nprocs || return 1 + popd +} + +install() { + pushd src/wget-1.14 + make install || return 1 + popd +}