2008-10-13 05:32:05 +00:00
|
|
|
# Example template build file for xbps.
|
2008-09-29 15:59:48 +00:00
|
|
|
#
|
|
|
|
# Use this file to create new templates, as it contains all variables
|
2008-10-13 05:32:05 +00:00
|
|
|
# that can currently be used with xbps.
|
2008-09-29 15:59:48 +00:00
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
2008-10-02 16:39:26 +00:00
|
|
|
# Target to be used for building. Use it if default is not the one
|
|
|
|
# that is needed.
|
|
|
|
#make_build_target="mytarget"
|
|
|
|
|
2008-09-29 15:59:48 +00:00
|
|
|
# Passed flags to the 'make' command before installing the package.
|
|
|
|
#make_install_args=""
|
|
|
|
|
2008-10-02 16:39:26 +00:00
|
|
|
# Target to be used for installing. Use it if default is not the
|
|
|
|
# one that is needed.
|
|
|
|
#make_install_target="install-foo"
|
|
|
|
|
2008-09-29 15:59:48 +00:00
|
|
|
# Make command to be used while building, it needs a full path.
|
|
|
|
# Uncomment the following line to use GNU make.
|
2008-10-13 05:32:05 +00:00
|
|
|
#make_cmd="$XBPS_MASTERDIR/bin/gmake"
|
2008-09-29 15:59:48 +00:00
|
|
|
|
2008-10-01 13:01:03 +00:00
|
|
|
# List of pkg-config files to be transformed once the package has
|
|
|
|
# been installed.
|
|
|
|
#pkgconfig_override="foo.pc blah.pc"
|
|
|
|
|
2008-09-29 15:59:48 +00:00
|
|
|
# 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 ..............................................."
|
2008-10-02 01:19:27 +00:00
|
|
|
|
2008-10-03 15:19:37 +00:00
|
|
|
# Run helpers after the package has been installed and stowned.
|
2008-10-13 05:32:05 +00:00
|
|
|
# Helpers are located at XBPS_DISTRIBUTIONDIR/helper-templates.
|
2008-10-03 15:19:37 +00:00
|
|
|
#
|
|
|
|
#postinstall_helpers="blah.sh"
|