mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-30 22:31:21 +00:00
20 lines
253 B
Plaintext
20 lines
253 B
Plaintext
file=$pkg.tar.gz
|
|
url=$mirror/$file
|
|
|
|
# Fetch package
|
|
wget -c $url -O src/$file
|
|
|
|
# Unpack package
|
|
pushd src
|
|
tar xzf $file
|
|
popd
|
|
|
|
# Build package
|
|
pushd src/$pkg
|
|
make clean
|
|
make CC=musl-gcc LDFLAGS=-static
|
|
popd
|
|
|
|
# Install package
|
|
cp src/$pkg/sdhcp $root/bin
|