This repository has been archived by the owner on Oct 3, 2021. It is now read-only.
forked from Icenowy/autobuild
-
Notifications
You must be signed in to change notification settings - Fork 3
defines
Arthur Wang edited this page May 1, 2014
·
9 revisions
$SRCDIR/autobuild/defines
is the only essential file to define building of the package.
Parts of this file goes to DEBIAN/control
, so use the Debian Policy Manual for reference.
ABTYPE= [ autobuild | cmake | scons | self | python | perl | unsupported #Reserved for errors ] #essential
PKGNAME=name
PKGVER=x.y.z
PKGSEC=section
PKGDES="Description"
PKGDEP="dep1 dep2" #Depend
# Not essential
PKGRECOM="recom1 recom2" #Recommend
PKGREP="rep1 rep2" #
PKGCONFL="confl1 confl2" #Conflict
PKGBRK="break1 break2" #Break
PKGPROV="provide1 provide2" #Provide
# Extra Flags and build options
ABSHADOW= [ yes | no ] # Defines if autobuild should build the package in $SRCDIR/build
AUTOTOOLS_AFTER="" # ./configure (prefix, ...) $AUTOTOOLS_AFTER
CMAKE_AFTER="" # cmake (...) $CMAKE_AFTER
MAKE_AFTER="" # make $ABMK $MAKE_AFTER
# Not commonly used
ABMK=-j4 # Anthon Quality Standard: Use export instead for args like -j4. Only used when this value is different from your export value.
ARCH= [ amd64 | i686 | i386 | ... ] #Valid only for control file in deb package. Default value already defined in autobuild script.
MTER="Mingyee Zhao <iamantimony@antimony.org>" #Deprecated. Edit /etc/maintainer . Only used to temporary change the maintainer string.
# Put some extra commands below
(DO AS YOU WANT BUT READ THE SOURCE FIRST)