diff --git a/templates/example.tmpl b/templates/example.tmpl new file mode 100755 index 00000000000..7182624a1ba --- /dev/null +++ b/templates/example.tmpl @@ -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 " + +# 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 ..............................................." diff --git a/templates/expat-2.0.1.tmpl b/templates/expat-2.0.1.tmpl index 992ef9bc70b..20bab666c43 100755 --- a/templates/expat-2.0.1.tmpl +++ b/templates/expat-2.0.1.tmpl @@ -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 . maintainer="Juan RP " - -# 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 diff --git a/templates/glib-2.18.1.tmpl b/templates/glib-2.18.1.tmpl index b55dabf409b..3bfe7bafa94 100755 --- a/templates/glib-2.18.1.tmpl +++ b/templates/glib-2.18.1.tmpl @@ -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 . maintainer="Juan RP " - -# 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 diff --git a/templates/gmake-3.81.tmpl b/templates/gmake-3.81.tmpl index 1988f1d82ef..149bea1afed 100755 --- a/templates/gmake-3.81.tmpl +++ b/templates/gmake-3.81.tmpl @@ -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 . maintainer="Juan RP " - -# 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 diff --git a/templates/irssi-0.8.12.tmpl b/templates/irssi-0.8.12.tmpl index ccaa7ab12f3..928a0b72fe7 100755 --- a/templates/irssi-0.8.12.tmpl +++ b/templates/irssi-0.8.12.tmpl @@ -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 . maintainer="Juan RP " - -# 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." diff --git a/templates/libtool-2.2.6a.tmpl b/templates/libtool-2.2.6a.tmpl index d5d80d66e8f..9c3422c79b0 100755 --- a/templates/libtool-2.2.6a.tmpl +++ b/templates/libtool-2.2.6a.tmpl @@ -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 . maintainer="Juan RP " - -# 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 diff --git a/templates/perl-5.10.0.tmpl b/templates/perl-5.10.0.tmpl index 645d9ec1dcc..3dcfdbc7441 100755 --- a/templates/perl-5.10.0.tmpl +++ b/templates/perl-5.10.0.tmpl @@ -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 . maintainer="Juan RP " - -# 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 diff --git a/templates/pkg-config-0.23.tmpl b/templates/pkg-config-0.23.tmpl index 9e1a52b87b3..2376e671854 100755 --- a/templates/pkg-config-0.23.tmpl +++ b/templates/pkg-config-0.23.tmpl @@ -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 . maintainer="Juan RP " - -# 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 diff --git a/templates/xstow-0.6.1-unstable.tmpl b/templates/xstow-0.6.1-unstable.tmpl index b287ac9b876..e0a7a4d3bd0 100755 --- a/templates/xstow-0.6.1-unstable.tmpl +++ b/templates/xstow-0.6.1-unstable.tmpl @@ -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 . maintainer="Juan RP " - -# 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.