void-packages/templates/example.tmpl
Juan RP 06ed761de0 Add the example template file that contains all variables that can be
used in templates.

Remove all comments from the other templates, if you want to know what
are their meaning, look at the example template.

--HG--
extra : convert_revision : 348bbf4b780be0eba186ba2062cecf05cbbf8a69
2008-09-29 17:59:48 +02:00

65 lines
2.4 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"
# 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 ..............................................."