summaryrefslogtreecommitdiffstats
path: root/release/common
blob: fe1ca4bd8705746221345b2f15bb1e613c313122 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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