summaryrefslogtreecommitdiffstats
path: root/release/common
diff options
context:
space:
mode:
Diffstat (limited to 'release/common')
-rwxr-xr-xrelease/common47
1 files changed, 47 insertions, 0 deletions
diff --git a/release/common b/release/common
new file mode 100755
index 0000000..fe1ca4b
--- /dev/null
+++ b/release/common
@@ -0,0 +1,47 @@
+# 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
+