364
|
1 |
# -*- shell-script -*-
|
|
2 |
[Meta]
|
|
3 |
ShortName: quickSelfTest
|
|
4 |
SoftwareVersion: 7.1.0.0
|
|
5 |
DisplayName: Smalltalk/X Application
|
|
6 |
RootName: Smalltalk/X
|
|
7 |
Summary: Smalltalk/X Application
|
|
8 |
Maintainer: Claus Gittinger & eXept Software AG
|
|
9 |
Packager: eXept Software AG
|
|
10 |
PackageVersion: 1
|
|
11 |
CPUArchitectures: x86
|
|
12 |
AutopackageTarget: 1.0
|
|
13 |
Type: Application
|
|
14 |
License: Commercial
|
|
15 |
|
|
16 |
[Description]
|
|
17 |
Smalltalk/X Application
|
|
18 |
|
|
19 |
[BuildPrepare]
|
|
20 |
# If you're using autotools, the default should be enough.
|
|
21 |
# prepareBuild will set up apbuild and run configure for you. If you
|
|
22 |
# need to pass arguments to configure, just add them to prepareBuild:
|
|
23 |
# prepareBuild --enable-foo --disable-bar
|
|
24 |
#prepareBuild
|
|
25 |
|
|
26 |
[BuildUnprepare]
|
|
27 |
# If you're using prepareBuild above, there is no need to change this!
|
|
28 |
#unprepareBuild
|
|
29 |
|
|
30 |
[Globals]
|
|
31 |
# Variables declared in this section will be available in all other sections
|
|
32 |
export APKG_BUILD_SKIP_CONFIGURE=1
|
|
33 |
export APKG_BUILD_SKIP_MAKE=1
|
|
34 |
export MYPREFIX=/opt/quickSelfTest
|
|
35 |
|
|
36 |
[Prepare]
|
|
37 |
#recommend '@autopackage.org/autopackage-gtk' 1
|
|
38 |
|
|
39 |
[Imports]
|
|
40 |
import <<EOF
|
|
41 |
$source_dir/quickSelfTest
|
|
42 |
|
|
43 |
EOF
|
|
44 |
|
|
45 |
for i in $source_dir/*.so
|
|
46 |
do
|
|
47 |
echo $source_dir/$(readlink $i)
|
|
48 |
done | import
|
|
49 |
|
|
50 |
[Install]
|
|
51 |
if [ "$PREFIX" != "/usr" ]
|
|
52 |
then
|
|
53 |
export MYPREFIX=$PREFIX
|
|
54 |
fi
|
|
55 |
|
|
56 |
find . -type d \( -name CVS -or -name 'not_*' \) -print | xargs rm -rf
|
|
57 |
mkdir -p $MYPREFIX
|
|
58 |
copyFiles Smalltalk/X *.rc resources $MYPREFIX/bin
|
|
59 |
|
|
60 |
|
|
61 |
#installExe Smalltalk/X
|
|
62 |
#installLib *.so
|
|
63 |
|
|
64 |
|
|
65 |
[Uninstall]
|
|
66 |
# Leaving this at the default is safe unless you use custom commands in
|
|
67 |
# "Install" to create files. All autopackage API functions
|
|
68 |
# that installs files are logged.
|
|
69 |
uninstallFromLog
|