morpheus

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

commit fe75469272ac84a2087aa37bf74abe0f78dc6ec6
parent 88135a3491f3031b263832afb60560d21a43ab0b
Author: sin <sin@2f30.org>
Date:   Mon,  3 Feb 2014 12:15:22 +0000

Remove gawk/gzip and use awk and gzip from busybox

Diffstat:
Mpkgs/busybox | 2++
Dpkgs/gawk | 29-----------------------------
Dpkgs/gzip | 29-----------------------------
3 files changed, 2 insertions(+), 58 deletions(-)

diff --git a/pkgs/busybox b/pkgs/busybox @@ -16,6 +16,7 @@ install() { ln -sf busybox addgroup ln -sf busybox adduser ln -sf getty agetty + ln -sf busybox awk ln -sf busybox bzip2 ln -sf busybox delgroup ln -sf busybox deluser @@ -27,6 +28,7 @@ install() { ln -sf busybox fsck ln -sf busybox fuser ln -sf busybox getty + ln -sf busybox gzip ln -sf busybox hexdump ln -sf busybox hwclock ln -sf busybox ifconfig diff --git a/pkgs/gawk b/pkgs/gawk @@ -1,29 +0,0 @@ -url=$mirror/gawk-4.1.0.tar.gz - -fetch() { - wget -c $url -O src/gawk-4.1.0.tar.gz -} - -unpack() { - pushd src - [ -d gawk-4.1.0 ] || tar xzf gawk-4.1.0.tar.gz - popd -} - -build() { - pushd src/gawk-4.1.0 - CC="x86_64-linux-musl-gcc -static" ./configure --prefix=$root --disable-nls \ - --libdir=$libcroot/lib \ - --libexecdir=$libcroot/libexec || return 1 - make -j$nprocs || return 1 - popd -} - -install() { - pushd src/gawk-4.1.0 - make install || return 1 - pushd $root/bin - ln -sf gawk awk - popd - popd -} diff --git a/pkgs/gzip b/pkgs/gzip @@ -1,29 +0,0 @@ -url=$mirror/gzip-1.4.tar.xz - -fetch() { - wget -c $url -O src/gzip-1.4.tar.xz -} - -unpack() { - pushd src - [ -d gzip-1.4 ] || tar xJf gzip-1.4.tar.xz - popd -} - -build() { - pushd src/gzip-1.4 - gnulibfix lib - CC="x86_64-linux-musl-gcc -static" ./configure --prefix=$root \ - --libdir=$libcroot/lib \ - --libexecdir=$libcroot/libexec || return 1 - echo "#define __printf__ printf" >> lib/config.h - echo "#define rpl_fprintf fprintf" >> lib/config.h - make -j$nprocs || return 1 - popd -} - -install() { - pushd src/gzip-1.4 - make install || return 1 - popd -}