mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-16 11:28:34 +00:00
Add make
This commit is contained in:
parent
44d4ac054d
commit
21afab2eb0
24
pkgs/make
Normal file
24
pkgs/make
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
url=$mirror/make-3.82.tar.bz2
|
||||||
|
|
||||||
|
fetch() {
|
||||||
|
wget -c $url -O src/make-3.82.tar.bz2
|
||||||
|
}
|
||||||
|
|
||||||
|
unpack() {
|
||||||
|
pushd src
|
||||||
|
[ -d make-3.82 ] || tar xjf make-3.82.tar.bz2
|
||||||
|
popd
|
||||||
|
}
|
||||||
|
|
||||||
|
build() {
|
||||||
|
pushd src/make-3.82
|
||||||
|
CC="musl-gcc -static" ./configure --prefix=$root --disable-nls
|
||||||
|
make CC="musl-gcc -static" -j$nprocs
|
||||||
|
popd
|
||||||
|
}
|
||||||
|
|
||||||
|
install() {
|
||||||
|
pushd src/make-3.82
|
||||||
|
make install
|
||||||
|
popd
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user