morpheus

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

commit 44d4ac054dc40aa458b5760c837689f87532d27c
parent a0fbd8da422bb3c5d6f7199d2aa46262d7cf6733
Author: sin <sin@2f30.org>
Date:   Tue, 17 Sep 2013 13:40:43 +0100

Add more packages

Diffstat:
Across-scripts/curl-7.32.0 | 25+++++++++++++++++++++++++
Across-scripts/libsigc++-2.3.1 | 24++++++++++++++++++++++++
Across-scripts/libtorrent-0.13.3 | 24++++++++++++++++++++++++
Mstage0 | 3+++
4 files changed, 76 insertions(+), 0 deletions(-)

diff --git a/cross-scripts/curl-7.32.0 b/cross-scripts/curl-7.32.0 @@ -0,0 +1,25 @@ +url=$mirror/curl-7.32.0.tar.gz + +fetch() { + wget -c $url -O src/curl-7.32.0.tar.gz +} + +unpack() { + pushd src + [ -d curl-7.32.0 ] || tar xzf curl-7.32.0.tar.gz + popd +} + +build() { + pushd src/curl-7.32.0 + CC=musl-gcc ./configure --prefix=$top/cross --with-ssl \ + --with-random=/dev/urandom --disable-shared + make CC=musl-gcc -j$nprocs + popd +} + +install() { + pushd src/curl-7.32.0 + make install + popd +} diff --git a/cross-scripts/libsigc++-2.3.1 b/cross-scripts/libsigc++-2.3.1 @@ -0,0 +1,24 @@ +url=$mirror/libsigc++-2.3.1.tar.xz + +fetch() { + wget -c $url -O src/libsigc++-2.3.1.tar.xz +} + +unpack() { + pushd src + [ -d libsigc++-2.3.1.tar.xz ] || tar xJf libsigc++-2.3.1.tar.xz + popd +} + +build() { + pushd src/libsigc++-2.3.1 + CC=musl-gcc ./configure --prefix=$top/cross --disable-shared --enable-static + make CC=musl-gcc -j$nprocs + popd +} + +install() { + pushd src/libsigc++-2.3.1 + make install + popd +} diff --git a/cross-scripts/libtorrent-0.13.3 b/cross-scripts/libtorrent-0.13.3 @@ -0,0 +1,24 @@ +url=$mirror/libtorrent-0.13.3.tar.gz + +fetch() { + wget -c $url -O src/libtorrent-0.13.3.tar.gz +} + +unpack() { + pushd src + [ -d libtorrent-0.13.3 ] || tar xzf libtorrent-0.13.3.tar.gz + popd +} + +build() { + pushd src/libtorrent-0.13.3 + CC=musl-gcc ./configure --prefix=$top/cross --disable-shared + make CC=musl-gcc -j$nprocs + popd +} + +install() { + pushd src/libtorrent-0.13.3 + make install + popd +} diff --git a/stage0 b/stage0 @@ -19,6 +19,9 @@ export PATH ./build cross-scripts/libevent-2.0.21 ./build cross-scripts/ncurses-5.9 ./build cross-scripts/zlib-1.2.8 +# ./build cross-scripts/libsigc++-2.3.1 +# ./build cross-scripts/curl-7.32.0 +# ./build cross-scripts/libtorrent-0.13.3 # Build stage0 packages pkglist=$(ls pkgs)