# -*- shell-script -*- ########################################################################### # # This is specification file for generating AutoPackage installer for Aubit compiler # See http://autopackage.org # # An important thing to know and to remember: all code in the [BuildPrepare], #[BuildUnprepare], [Imports], [Prepare], [Install] and [Uninstall] sections #are shell script codes! Everything you can do in bash, you can do here too! # # See http://www.autopackage.org/api/ for details # http://autopackage.org/api/installation.html ########################################################################### # # $Id: default.apspec.in,v 1.4 2006/12/01 06:52:59 afalout Exp $ # ############################################################################### # ############################################################################### [Meta] ShortName: @SHORTNAME@ SoftwareVersion: @AUBIT_VERSION@.@AUBIT_BUILD@ DisplayName: @FULLNAME@ RootName: @aubit4gl.sf.net/aubit4gl:$SOFTWAREVERSION Summary: Informix-4GL and x4GL compatible compiler with many extensions and supported databases Maintainer: @AUBIT_PUBLISHER@ Packager: Andrej Falout PackageVersion: 1 #We cant use target_cpu here, as we have in it actuall CPU type (e.g. i686) not class #and AutoPackage accepts only x86 at the moment CPUArchitectures: x86 AutopackageTarget: 1.0 #Seems we can choose only between Application or Library here; library can be a #dependency to another package (as Aubit lib is to compiled 4GL programs), App can #have dependencyes, but cant be one itself. Specifying Library here also #creates few more files (.meta, .xml) in addition to .package Type: Library License: @AUBIT_LICENSE@ URL: http://aubit4gl.sf.net InterfaceVersion: 1.0 ############################################################################### # ############################################################################### [Description] Aubit 4GL (Fourth Generation programing Language) compiler compiles source files to several low-level programming languages (C, Perl, Java...). It has ODBC and native database conectivity, GUI interface and many features. Install Aubit compiler if you want to write or run business related database oriented (BRDO) applications in x4GL language. ############################################################################### # ############################################################################### [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 # #DONT DO ANYTHING - WE WILL TAKE CARE OF COMPILING OURSELVES # ############################################################################### # ############################################################################### [BuildUnprepare] # # If you're using prepareBuild above, there is no need to change this! # #unprepareBuild # #DONT DO ANYTHING - WE WILL TAKE CARE OF CLEANING OURSELVES # ############################################################################### # ############################################################################### [Globals] # # WARNING - MUST USE 'export' KEYWORD ! # # VARIABLES DO NOT SURVIVE FROM PACKAGING TO INSTALL TIME! # #-------------------------------- #Version appended to libraries by Libtool (libxyz.so.1.2.3) #export sover=".1.2.3" #-------------------------------- #Collect the list of all files 'make install' installs: #Must avoid links and directories! #This is replaced form root Makefile - NOT FROM CONFIGURE!! export AP_BIN_FILES="@AP_BIN_FILES@" export AP_PLUGINS_FILES="@AP_PLUGINS_FILES@" export AP_LIB_FILES="@AP_LIB_FILES@" export AP_ROOT_FILES="@AP_ROOT_FILES@" export AP_ETC_FILES="@AP_ETC_FILES@" export AP_ETC_CONFIG_FILES="@AP_ETC_CONFIG_FILES@" export AP_ETC_IMPORT_FILES="@AP_ETC_IMPORT_FILES@" export AP_ETC_CONVERTSQL_FILES="@AP_ETC_CONVERTSQL_FILES@" export AP_DOCS_FILES="@AP_DOCS_FILES@" export AP_INCL_FILES="@AP_INCL_FILES@" export AP_TOOLS_FILES="@AP_TOOLS_FILES@" export AP_TOOLS_TEST_FILES="@AP_TOOLS_TEST_FILES@" export AP_TOOLS_TEST_GUI_FILES="@AP_TOOLS_TEST_GUI_FILES@" export AP_TOOLS_4GLPC_FILES="@AP_TOOLS_4GLPC_FILES@" export AP_TOOLS_4GLPC_SETTINGS_FILES="@AP_TOOLS_4GLPC_SETTINGS_FILES@" ############################################################################### # ############################################################################### [Prepare] #-------------------------------- #Check for dependencies with AutoPackage sceleton files available: #See available dependencies (skeletons) in /usr/share/autopackage/skeletons #and http://cvs.sunsite.dk/viewcvs.cgi/autopackage/main/share/skeletons/ # #require '@gtk.org/glib' 2.0 recommend '@gtk.org/gtk' 2.4 recommend '@glade.gnome.org/libglade' 2.0 #FAIL: Unable to prepare package Aubit 4GL compiler. #recommend '@gnu.org/ncurses' #FAIL: Unable to prepare package Aubit 4GL compiler. #recommend '@perl.org/perl' #FAIL: Unable to prepare package Aubit 4GL compiler. #recommend '@zlib.org/zlib' #/usr/share/autopackage/skeletons/@gnome.org: #gconf2 libart_lgpl libgnomeprint-2-2 libgnomesu libgucharmap pyglade #gtkhtml2 libbonobo2 libgnomeprintui-2-2 libgnomeui libxml pygtk #/usr/share/autopackage/skeletons/@advancedresearch.org: #dialog #-------------------------------- # Check whether /tmp has at least 1392003 bytes of free disk space checkDiskSpace 1392003 "/tmp" #-------------------------------- requireFile /bin/bash #requireFile /lib/libm.so.6 #-------------------------------- #testForLib libfoo.so && echo "libfoo.so was found on the system!" ############################################################################### # ############################################################################### [Imports] # # This command will tell makeinstaller what to include in the package. # The selection comes from the files created by 'make install' or equivalent. # #Note: the working directory in this section is $build_root! The folder in which #makeinstaller is invoked is referred by $source_dir. # #import <