mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-03-20 03:13:05 +00:00
updated
This commit is contained in:
29
buildpkg
29
buildpkg
@@ -473,6 +473,35 @@ removemakedepends() {
|
||||
[ "$ORPHAN" = "yes" ] && [ -d $INDEX_DIR/$1 ] && saferemove+=($1)
|
||||
}
|
||||
|
||||
getoptions() {
|
||||
|
||||
for opt in ${OPTIONS[@]}; do
|
||||
case $opt in
|
||||
libtool|!libtool)
|
||||
[ "${opt::1}" = '!' ] && REMOVE_LIBTOOL=yes
|
||||
;;
|
||||
emptydirs|!emptydirs)
|
||||
[ "${opt::1}" = '!' ] && REMOVE_EMPTYDIRS=yes
|
||||
;;
|
||||
strip|!strip)
|
||||
[ "${opt::1}" = '!' ] && NO_STRIP=yes
|
||||
;;
|
||||
docs|!docs)
|
||||
[ "${opt::1}" = '!' ] || REMOVE_DOCS=yes
|
||||
;;
|
||||
zipman|!zipman)
|
||||
[ "${opt::1}" = '!' ] || COMPRESS_MAN=yes
|
||||
;;
|
||||
buildflags|!buildflags)
|
||||
[ "${opt::1}" = '!' ] && CFLAGS=""; CXXFLAGS=""
|
||||
;;
|
||||
makeflags|!makeflags)
|
||||
[ "${opt::1}" = '!' ] && MAKEFLAGS=""
|
||||
esac
|
||||
done
|
||||
|
||||
}
|
||||
|
||||
clearworkdir() {
|
||||
|
||||
if [ ! "$KEEP_WORK" ]; then
|
||||
|
||||
Reference in New Issue
Block a user