You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
648 B
48 lines
648 B
15 years ago
|
# common script sourced by all others
|
||
|
|
||
|
package=$1
|
||
|
version=$2
|
||
|
|
||
|
test -n "$package" || { echo "requires modulename as parameter"; exit 1; }
|
||
|
|
||
|
if test -z "$version"; then
|
||
|
|
||
|
case $package in
|
||
|
qt-copy)
|
||
|
version=3.1_20021104
|
||
|
;;
|
||
|
arts)
|
||
|
version=1.5.10
|
||
|
;;
|
||
|
kdevelop)
|
||
|
version=3.5.3
|
||
|
;;
|
||
|
koffice)
|
||
|
version=1.3.98
|
||
|
;;
|
||
|
koffice-l10n)
|
||
|
version=1.3.98
|
||
|
;;
|
||
|
*)
|
||
|
version=3.5.10
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
fi
|
||
|
|
||
|
isl10n=0
|
||
|
case $package in
|
||
|
*-l10n|*-i18n)
|
||
|
isl10n=1
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
if test -z "$scriptpath"; then
|
||
|
scriptpath=".."
|
||
|
fi
|
||
|
|
||
|
export CDPATH=""
|
||
|
export UNSERMAKE=no # very important for now :)
|
||
|
export package version scriptpath isl10n
|
||
|
|