diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-01 12:43:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-04-01 12:43:05 +0000 |
commit | d48b86e8a2864c77ecb024589fe2d948adfa805e (patch) | |
tree | a4d3bb3a9ebb7aa23df9bddc2de470de828f2eff /abuild | |
parent | 68ce72c7ba5ed02adc32f6d341001b155802c90b (diff) | |
download | abuild-d48b86e8a2864c77ecb024589fe2d948adfa805e.tar.gz abuild-d48b86e8a2864c77ecb024589fe2d948adfa805e.tar.bz2 abuild-d48b86e8a2864c77ecb024589fe2d948adfa805e.tar.xz abuild-d48b86e8a2864c77ecb024589fe2d948adfa805e.zip |
abuild: added feature to (un)install all build dependencies in one shot
Diffstat (limited to 'abuild')
-rwxr-xr-x | abuild | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -701,6 +701,14 @@ newaport() { fi } + +installdeps() { + sudo apk add $depends $makedepends +} + +uninstalldeps (){ + sudo apk del $depends $makedepends +} usage() { echo "$(basename $0) $abuild_ver" @@ -739,6 +747,8 @@ usage() { echo " cleancache Remove downloaded files from \$SRCDEST" echo " srcpkg Make a source package" echo " up2date Compare target and sources dates" + echo " installdeps Install packages listed in makedepends and depends" + echo " uninstalldeps Uninstall packages listed in makedepends and depends" echo "" exit 0 } |