1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-28 15:31:22 +00:00
morpheus/pkgs/fs
sin 3ed9505ea4 Don't extract if the package is already extracted
Makes it easy to modify a package and rebuild.
2013-09-05 15:33:09 +01:00

14 lines
183 B
Plaintext

file=$pkg.tar.gz
url=$mirror/$file
# Fetch package
wget -c $url -O src/$file
# Unpack package
pushd src
[ -d $pkg ] || tar xzf $file
popd
# Install package
cp -r src/$pkg/* $root/