vp-build/templates/example.tmpl
Juan RP 7b9c3503fa Make it possible to use multiple stages in run_stuff_*, e.g:
run_stuff_before="configure build install"

while here, document them in example.tmpl.

--HG--
extra : convert_revision : acca2ad2aed2467b244037b60132cf5461057acc
2008-10-02 03:19:27 +02:00

85 lines
3.1 KiB
Cheetah
Executable File

# Example template build file for pkgs.
#
# Use this file to create new templates, as it contains all variables
# that can currently be used with pkgfs.
# Name of the package, sometimes you need a different name than
# the one used in the source distribution file so in that case use
# the $distfiles var.
#pkgname=example-1.0.0
# Suffix extraction, only supported: tar, tar.gz and tar.bz2.
#extract_sufx=".tar.bz2"
# Use this if $pkgname doesn't match or if there are multiple
# source distribution files (not yet supported).
#distfiles="example-dist-1.0.0.tar.bz2 example-dist-data-1.0.0.tar.bz2"
# Use this if the extracted directory doesn't match with $pkgname.
#wrksrc="example-dist-1.0.0"
# Patches to be applied before the package is being built.
# They can be without compression (.diff) or compressed with gzip/bzip2.
#patch_files="example-fix-blah.diff example-fix-blob.diff.bz2"
# URL to fetch. BEWARE: DO NOT ADD A SLASH AT THE END OF THE URL.
#url=http://www.example.org/releases
# Arguments passed to configure if $build_style = {,gnu_}configure.
#configure_args="--with-foo --without-blah"
# Arguments passed to configure through the environment.
#configure_env="ac_cv_enable_foo=yes"
# Build style: gnu_configure, bsd-makefile, gnu-makefile, configure.
#build_style=gnu_configure
# Passed flags to the 'make' command before building the package.
#make_build_args="-j4"
# Passed flags to the 'make' command before installing the package.
#make_install_args=""
# Make command to be used while building, it needs a full path.
# Uncomment the following line to use GNU make.
#make_cmd="$PKGFS_MASTERDIR/bin/gmake"
# List of pkg-config files to be transformed once the package has
# been installed.
#pkgconfig_override="foo.pc blah.pc"
# Short description for this package, max 1 line of 72 chars.
#short_desc="Example template"
# Maintainer for this template.
#maintainer="Blah <foo@blah.org>"
# Checksum of distribution file, with RMD160.
# To generate it use: "cksum -a rmd160 file|awk '{print $4}'".
#checksum=9010291k1111092019209129019201
# Long description. Preferibly first line should be left blank
# and use a whitespace while starting lines.
# Please also respect 72 chars per line if possible (max 80).
#long_desc="
# First line............................................................
# Second Line...........................................................
# Third line... blah blah blah..........................................
# Nth line... blah blah ..............................................."
# Use the following vars to execute arbitrary stuff at some stage
# while installing a package.
#
# There are three stages: configure, build and install; and
# also two states when this are run: before or after.
#
# Please take a look at templates/perl-run-stuff-{before,after}.sh files
# to know what to do with them.
#
#run_stuff_before="configure build install"
#run_stuff_before_configure_file="example-before-configure.sh"
#run_stuff_before_build_file="example-before-build.sh"
#run_stuff_before_install_file="example-before-install.sh"
#run_stuff_after="install"
#run_stuff_after_install_file="example-after-install.sh"