initial checkin
authorsr
Tue, 10 Oct 2017 14:44:42 +0200
changeset 36533980b4cc339
parent 364 25c699147821
child 366 49b576c930ad
initial checkin
quickSelfTest/autopackage/default.apspec
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/quickSelfTest/autopackage/default.apspec	Tue Oct 10 14:44:42 2017 +0200
     1.3 @@ -0,0 +1,69 @@
     1.4 +# -*- shell-script -*-
     1.5 +[Meta]
     1.6 +ShortName: quickSelfTest
     1.7 +SoftwareVersion: 7.1.0.0
     1.8 +DisplayName: Smalltalk/X Application
     1.9 +RootName: Smalltalk/X
    1.10 +Summary: Smalltalk/X Application
    1.11 +Maintainer: Claus Gittinger & eXept Software AG
    1.12 +Packager: eXept Software AG
    1.13 +PackageVersion: 1
    1.14 +CPUArchitectures: x86
    1.15 +AutopackageTarget: 1.0
    1.16 +Type: Application
    1.17 +License: Commercial
    1.18 +
    1.19 +[Description]
    1.20 +Smalltalk/X Application
    1.21 +
    1.22 +[BuildPrepare]
    1.23 +# If you're using autotools, the default should be enough.
    1.24 +# prepareBuild will set up apbuild and run configure for you. If you
    1.25 +# need to pass arguments to configure, just add them to prepareBuild:
    1.26 +# prepareBuild --enable-foo --disable-bar
    1.27 +#prepareBuild
    1.28 +
    1.29 +[BuildUnprepare]
    1.30 +# If you're using prepareBuild above, there is no need to change this!
    1.31 +#unprepareBuild
    1.32 +
    1.33 +[Globals]
    1.34 +# Variables declared in this section will be available in all other sections
    1.35 +export APKG_BUILD_SKIP_CONFIGURE=1
    1.36 +export APKG_BUILD_SKIP_MAKE=1
    1.37 +export MYPREFIX=/opt/quickSelfTest
    1.38 +
    1.39 +[Prepare]
    1.40 +#recommend '@autopackage.org/autopackage-gtk' 1
    1.41 +
    1.42 +[Imports]
    1.43 +import <<EOF
    1.44 +$source_dir/quickSelfTest
    1.45 +
    1.46 +EOF
    1.47 +
    1.48 +for i in $source_dir/*.so
    1.49 +do
    1.50 +    echo $source_dir/$(readlink $i)
    1.51 +done | import
    1.52 +
    1.53 +[Install]
    1.54 +if [ "$PREFIX" != "/usr" ]
    1.55 +then
    1.56 +    export MYPREFIX=$PREFIX
    1.57 +fi
    1.58 +
    1.59 +find . -type d \( -name CVS -or -name 'not_*' \) -print | xargs rm -rf
    1.60 +mkdir -p $MYPREFIX
    1.61 +copyFiles Smalltalk/X *.rc resources        $MYPREFIX/bin
    1.62 +
    1.63 +
    1.64 +#installExe Smalltalk/X
    1.65 +#installLib *.so
    1.66 +
    1.67 +
    1.68 +[Uninstall]
    1.69 +# Leaving this at the default is safe unless you use custom commands in
    1.70 +# "Install" to create files. All autopackage API functions
    1.71 +# that installs files are logged.
    1.72 +uninstallFromLog