quickSelfTest/autopackage/default.apspec
author sr
Tue, 10 Oct 2017 14:44:42 +0200
changeset 364 33980b4cc339
permissions -rw-r--r--
initial checkin

# -*- shell-script -*-
[Meta]
ShortName: quickSelfTest
SoftwareVersion: 7.1.0.0
DisplayName: Smalltalk/X Application
RootName: Smalltalk/X
Summary: Smalltalk/X Application
Maintainer: Claus Gittinger & eXept Software AG
Packager: eXept Software AG
PackageVersion: 1
CPUArchitectures: x86
AutopackageTarget: 1.0
Type: Application
License: Commercial

[Description]
Smalltalk/X Application

[BuildPrepare]
# If you're using autotools, the default should be enough.
# prepareBuild will set up apbuild and run configure for you. If you
# need to pass arguments to configure, just add them to prepareBuild:
# prepareBuild --enable-foo --disable-bar
#prepareBuild

[BuildUnprepare]
# If you're using prepareBuild above, there is no need to change this!
#unprepareBuild

[Globals]
# Variables declared in this section will be available in all other sections
export APKG_BUILD_SKIP_CONFIGURE=1
export APKG_BUILD_SKIP_MAKE=1
export MYPREFIX=/opt/quickSelfTest

[Prepare]
#recommend '@autopackage.org/autopackage-gtk' 1

[Imports]
import <<EOF
$source_dir/quickSelfTest

EOF

for i in $source_dir/*.so
do
    echo $source_dir/$(readlink $i)
done | import

[Install]
if [ "$PREFIX" != "/usr" ]
then
    export MYPREFIX=$PREFIX
fi

find . -type d \( -name CVS -or -name 'not_*' \) -print | xargs rm -rf
mkdir -p $MYPREFIX
copyFiles Smalltalk/X *.rc resources        $MYPREFIX/bin


#installExe Smalltalk/X
#installLib *.so


[Uninstall]
# Leaving this at the default is safe unless you use custom commands in
# "Install" to create files. All autopackage API functions
# that installs files are logged.
uninstallFromLog