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
This commit is contained in:
parent
7abe1ad2af
commit
06ed761de0
|
@ -0,0 +1,64 @@
|
|||
# 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 ..............................................."
|
|
@ -1,52 +1,11 @@
|
|||
# ----*---- ----*-----
|
||||
# Example template build file for 'expat-2.0.1'
|
||||
# ----*---- ----*-----
|
||||
#
|
||||
# Name of the package, sometimes you need a different name than
|
||||
# the one used in the source distribution file.
|
||||
# Template file for 'expat-2.0.1'
|
||||
pkgname=expat-2.0.1
|
||||
|
||||
# Suffix extraction, only supported: zip and tar/tar+(gz|bzip2).
|
||||
extract_sufx=".tar.gz"
|
||||
|
||||
# Use this if pkgname doesn't match or if there are multiple
|
||||
# source distribution files.
|
||||
#distfiles=""
|
||||
|
||||
#
|
||||
# URL to fetch. Do not add a slash at the end.
|
||||
#
|
||||
url=http://kent.dl.sourceforge.net/sourceforge/expat
|
||||
|
||||
# Arguments passed to configure if $build_style = {,gnu_}configure.
|
||||
#configure_args=""
|
||||
|
||||
# Arguments passed to configure through the environment
|
||||
#configure_env=""
|
||||
|
||||
# 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=""
|
||||
|
||||
# Passed flags to the 'make' command before installing the package.
|
||||
#make_install_args=""
|
||||
|
||||
# Short description, max 1 line of 72 chars.
|
||||
short_desc="XML parser library written in C"
|
||||
|
||||
# Maintainer of this pkg: name <email>.
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
||||
# Checksum of file with rmd160.
|
||||
checksum=d31bcb152adaff9e358968be1ea901e1b4ed3b2f
|
||||
|
||||
# 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="
|
||||
This is James Clark's expat XML parser library in C. It is a stream
|
||||
oriented parser that requires setting handlers to deal with the
|
||||
|
|
|
@ -1,56 +1,15 @@
|
|||
# ----*---- ----*-----
|
||||
# Template build file for 'glib-2.18.1'
|
||||
# ----*---- ----*-----
|
||||
#
|
||||
# Name of the package, sometimes you need a different name than
|
||||
# the one used in the source distribution file.
|
||||
pkgname=glib-2.18.1
|
||||
|
||||
# Suffix extraction, only supported: zip and tar/tar+(gz|bzip2).
|
||||
extract_sufx=".tar.bz2"
|
||||
|
||||
# Patches to be applied to the source before building it.
|
||||
patch_files="glib-2.18.1-fix-statfs-netbsd.diff"
|
||||
|
||||
# Use this if pkgname doesn't match or if there are multiple
|
||||
# source distribution files.
|
||||
#distfiles=""
|
||||
|
||||
# URL to fetch
|
||||
url=http://ftp.gnome.org/pub/gnome/sources/glib/2.18
|
||||
|
||||
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
|
||||
|
||||
# Arguments passed to configure if $build_style = {,gnu_}configure.
|
||||
#configure_args=""
|
||||
|
||||
# Arguments passed to configure through the environment
|
||||
configure_env="ac_cv_path_PKG_CONFIG=$PKGFS_MASTERDIR/bin/pkg-config
|
||||
ac_cv_func_statfs=no"
|
||||
|
||||
# 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=""
|
||||
|
||||
# Passed flags to the 'make' command before installing the package.
|
||||
#make_install_args=""
|
||||
|
||||
# Short description, max 1 line of 72 chars.
|
||||
short_desc="The GNU library of C routines"
|
||||
|
||||
# Maintainer of this pkg: name <email>.
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
||||
# Checksum of file with rmd160.
|
||||
checksum=264b37584419d983685910adde8f7b282eccc1ad
|
||||
|
||||
# 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="
|
||||
GLib is a library containing many useful C routines for things such
|
||||
as trees, hashes, lists and strings. It is a useful general purpose
|
||||
|
|
|
@ -1,47 +1,13 @@
|
|||
# ----*---- ----*-----
|
||||
# Template build file for 'gmake-3.81'
|
||||
# ----*---- ----*-----
|
||||
#
|
||||
# Name of the package, sometimes you need a different name than
|
||||
# the one used in the source distribution file.
|
||||
pkgname=gmake-3.81
|
||||
|
||||
# Suffix extraction, only supported: zip and tar/tar+(gz|bzip2).
|
||||
extract_sufx=".tar.bz2"
|
||||
|
||||
# Use this if pkgname doesn't match or if there are multiple
|
||||
# source distribution files.
|
||||
distfiles="make-3.81"
|
||||
|
||||
# URL to fetch
|
||||
url=http://ftp.gnu.org/pub/gnu/make
|
||||
|
||||
# Arguments passed to configure if $build_style = {,gnu_}configure.
|
||||
configure_args="--program-prefix=g"
|
||||
|
||||
# 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=""
|
||||
|
||||
# Passed flags to the 'make' command before installing the package.
|
||||
#make_install_args=""
|
||||
|
||||
# Short description, max 1 line of 72 chars.
|
||||
short_desc="The GNU make system"
|
||||
|
||||
# Maintainer of this pkg: name <email>.
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
||||
# Checksum of file with rmd160.
|
||||
checksum=79d418e1258ec0d6ba08b1431a4ade3fec54c2b2
|
||||
|
||||
# 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="
|
||||
GNU Make is a program that determines which pieces of a large
|
||||
program need to be recompiled and issues the commands to
|
||||
|
|
|
@ -1,53 +1,15 @@
|
|||
# ----*---- ----*-----
|
||||
# Template build file for 'irssi-0.8.12'
|
||||
# ----*---- ----*-----
|
||||
#
|
||||
# Name of the package, sometimes you need a different name than
|
||||
# the one used in the source distribution file.
|
||||
pkgname=irssi-0.8.12
|
||||
|
||||
# Suffix extraction, only supported: zip and tar/tar+(gz|bzip2).
|
||||
extract_sufx=".tar.bz2"
|
||||
|
||||
# Use this if pkgname doesn't match or if there are multiple
|
||||
# source distribution files.
|
||||
#distfiles=""
|
||||
|
||||
# URL to fetch
|
||||
url=http://www.irssi.org/files
|
||||
|
||||
# Arguments passed to configure if $build_style = {,gnu_}configure.
|
||||
configure_args="--with-terminfo --with-proxy --without-curses"
|
||||
|
||||
# Arguments passed to configure through the environment
|
||||
#configure_env=""
|
||||
|
||||
# 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=""
|
||||
|
||||
# Passed flags to the 'make' command before installing the package.
|
||||
#make_install_args=""
|
||||
|
||||
# Short description, max 1 line of 72 chars.
|
||||
short_desc="Secure and modular IRC client with text mode user interface"
|
||||
|
||||
# Maintainer of this pkg: name <email>.
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
||||
# Checksum of file with rmd160.
|
||||
checksum=0588e6c2df0425c4f36bd84c1621d9ad170b6a81
|
||||
|
||||
# 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="
|
||||
Irssi is a modular IRC client that currently has only text mode user
|
||||
interface, but 80-90% of the code isn't text mode specific, so other UIs
|
||||
could be created pretty easily. Also, Irssi isn't really even IRC specific
|
||||
anymore, there's already a working SILC module available. Support for other
|
||||
protocols like ICQ could be created some day too."
|
||||
Irssi is a modular IRC client that currently has only text mode user
|
||||
interface, but 80-90% of the code isn't text mode specific, so other UIs
|
||||
could be created pretty easily. Also, Irssi isn't really even IRC specific
|
||||
anymore, there's already a working SILC module available. Support for other
|
||||
protocols like ICQ could be created some day too."
|
||||
|
|
|
@ -1,52 +1,17 @@
|
|||
# ----*---- ----*-----
|
||||
# Template build file for 'libtool-2.2.6a'
|
||||
# ----*---- ----*-----
|
||||
#
|
||||
# Local variable only used in this template.
|
||||
# Variable only used in this template.
|
||||
_mypkgname=libtool-2.2.6
|
||||
# Name of the package, sometimes you need a different name than
|
||||
# the one used in the source distribution file.
|
||||
|
||||
pkgname=${_mypkgname}a
|
||||
|
||||
# Suffix extraction, only supported: zip and tar/tar+(gz|bzip2).
|
||||
extract_sufx=".tar.gz"
|
||||
|
||||
patch_files="libtool-2.2.6a-fix-ltmain.sh.diff"
|
||||
|
||||
# Use this if extracted directory from source distribution file
|
||||
# is not the same than pkgname.
|
||||
patch_files="${_mypkgname}a-fix-ltmain.sh.diff"
|
||||
wrksrc=${_mypkgname}
|
||||
|
||||
# Use this if pkgname doesn't match or if there are multiple
|
||||
# source distribution files.
|
||||
#distfiles=""
|
||||
|
||||
# URL to fetch
|
||||
url=http://ftp.gnu.org/pub/gnu/libtool
|
||||
|
||||
# Arguments passed to configure if $build_style = {,gnu_}configure.
|
||||
#configure_args=""
|
||||
|
||||
# Build style: gnu_configure, bsd-makefile, gnu-makefile, configure.
|
||||
build_style=gnu_configure
|
||||
|
||||
make_build_flags="-j8"
|
||||
make_install_flags=""
|
||||
|
||||
# Short description, max 1 line of 72 chars.
|
||||
short_desc="Generic library support"
|
||||
|
||||
# Maintainer of this pkg: name <email>.
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
||||
# Checksum of file with rmd160.
|
||||
checksum=f8862338e2c6ea04332fd5aad4aad5bc35d0e152
|
||||
|
||||
# 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="
|
||||
This is GNU libtool, a generic library support script. Libtool hides
|
||||
the complexity of generating special library types (such as shared
|
||||
|
|
|
@ -1,54 +1,14 @@
|
|||
# ----*---- ----*-----
|
||||
# Example template build file for 'perl-5.10.0'.
|
||||
# ----*---- ----*-----
|
||||
#
|
||||
# Name of the package, sometimes you need a different name than
|
||||
# the one used in the source distribution file.
|
||||
pkgname=perl-5.10.0
|
||||
|
||||
# Suffix extraction, only supported: zip and tar/tar+(gz|bzip2).
|
||||
extract_sufx=".tar.gz"
|
||||
|
||||
# Use this if pkgname doesn't match or if there are multiple
|
||||
# source distribution files.
|
||||
#distfiles=""
|
||||
|
||||
# URL to fetch
|
||||
url=http://www.cpan.org/src
|
||||
|
||||
# Use this if the configure script is not named 'configure'.
|
||||
configure_script="Configure"
|
||||
|
||||
# Arguments passed to configure if $build_style = {,gnu_}configure.
|
||||
configure_args="-Dusethreads -des -Dprefix=$PKGFS_DESTDIR/$pkgname
|
||||
-Ui_malloc -Uusemymalloc -Dinstallstyle=lib/perl5"
|
||||
|
||||
# Arguments passed to configure through the environment
|
||||
#configure_env=""
|
||||
|
||||
# Build style: gnu_configure, bsd-makefile, gnu-makefile, configure.
|
||||
build_style=configure
|
||||
|
||||
# Passed flags to the 'make' command before building the package.
|
||||
#make_build_args=""
|
||||
|
||||
# Passed flags to the 'make' command before installing the package.
|
||||
#make_install_args=""
|
||||
|
||||
# Short description, max 1 line of 72 chars.
|
||||
short_desc="Practical Extraction and Report Language"
|
||||
|
||||
# Maintainer of this pkg: name <email>.
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
||||
# Checksum of file with rmd160.
|
||||
checksum=c6614fc99a162790a703f91085b24a60af903ba2
|
||||
|
||||
# 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="
|
||||
Perl is a general-purpose programming language originally developed
|
||||
for text manipulation and now used for a wide range of tasks including
|
||||
|
|
|
@ -1,50 +1,11 @@
|
|||
# ----*---- ----*-----
|
||||
# Template build file for 'pkg-config-0.23'
|
||||
# ----*---- ----*-----
|
||||
#
|
||||
# Name of the package, sometimes you need a different name than
|
||||
# the one used in the source distribution file.
|
||||
pkgname=pkg-config-0.23
|
||||
|
||||
# Suffix extraction, only supported: zip and tar/tar+(gz|bzip2).
|
||||
extract_sufx=".tar.gz"
|
||||
|
||||
# Use this if pkgname doesn't match or if there are multiple
|
||||
# source distribution files.
|
||||
#distfiles=""
|
||||
|
||||
# URL to fetch
|
||||
url=http://pkgconfig.freedesktop.org/releases
|
||||
|
||||
# Arguments passed to configure if $build_style = {,gnu_}configure.
|
||||
#configure_args=""
|
||||
|
||||
# Arguments passed to configure through the environment
|
||||
#configure_env=""
|
||||
|
||||
# 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=""
|
||||
|
||||
# Passed flags to the 'make' command before installing the package.
|
||||
#make_install_args=""
|
||||
|
||||
# Short description, max 1 line of 72 chars.
|
||||
short_desc="System for managing library compile/link flags"
|
||||
|
||||
# Maintainer of this pkg: name <email>.
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
||||
# Checksum of file with rmd160.
|
||||
checksum=0aa5565430d609319917ac2c8ffeaa5e4a509489
|
||||
|
||||
# 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="
|
||||
pkg-config is a system for managing library compile/link flags that
|
||||
works with automake and autoconf. It replaces the ubiquitous
|
||||
|
|
|
@ -1,50 +1,11 @@
|
|||
# ----*---- ----*-----
|
||||
# Example template build file for 'xstow-0.6.1-unstable'.
|
||||
# ----*---- ----*-----
|
||||
#
|
||||
# Name of the package, sometimes you need a different name than
|
||||
# the one used in the source distribution file.
|
||||
# Template build file for 'xstow-0.6.1-unstable'.
|
||||
pkgname=xstow-0.6.1-unstable
|
||||
|
||||
# Suffix extraction, only supported: zip and tar/tar+(gz|bzip2).
|
||||
extract_sufx=".tar.bz2"
|
||||
|
||||
# Use this if pkgname doesn't match or if there are multiple
|
||||
# source distribution files.
|
||||
#distfiles=""
|
||||
|
||||
# URL to fetch
|
||||
url=http://kent.dl.sourceforge.net/sourceforge/xstow/
|
||||
|
||||
# Arguments passed to configure if $build_style = {,gnu_}configure.
|
||||
#configure_args=""
|
||||
|
||||
# Arguments passed to configure through the environment
|
||||
#configure_env=""
|
||||
|
||||
# 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=""
|
||||
|
||||
# Passed flags to the 'make' command before installing the package.
|
||||
#make_install_args=""
|
||||
|
||||
# Short description, max 1 line of 72 chars.
|
||||
short_desc="Replacement of GNU Stow written in C++"
|
||||
|
||||
# Maintainer of this pkg: name <email>.
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
|
||||
# Checksum of file with rmd160.
|
||||
checksum=9b99bd9affe9a841503970e903555ce340fcf296
|
||||
|
||||
# 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="
|
||||
XStow as GNU Stow, are programs for managing the installation of
|
||||
software packages, keeping them separate (/usr/local/stow/emacs vs.
|
||||
|
|
Loading…
Reference in New Issue