Add more packages

This commit is contained in:
sin 2013-09-17 13:40:43 +01:00
parent a0fbd8da42
commit 44d4ac054d
4 changed files with 76 additions and 0 deletions

25
cross-scripts/curl-7.32.0 Normal file
View File

@ -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
}

View File

@ -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
}

View File

@ -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
}

3
stage0
View File

@ -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)