mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 14:38:33 +00:00
Add more packages
This commit is contained in:
parent
a0fbd8da42
commit
44d4ac054d
25
cross-scripts/curl-7.32.0
Normal file
25
cross-scripts/curl-7.32.0
Normal 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
|
||||
}
|
24
cross-scripts/libsigc++-2.3.1
Normal file
24
cross-scripts/libsigc++-2.3.1
Normal 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
|
||||
}
|
24
cross-scripts/libtorrent-0.13.3
Normal file
24
cross-scripts/libtorrent-0.13.3
Normal 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
3
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)
|
||||
|
Loading…
Reference in New Issue
Block a user