Added tmpl_vars util. Common vars that can be used in templates.

--HG--
extra : convert_revision : 68393e79e5f25d622d9142bf73b09b24ced28733
This commit is contained in:
Juan RP 2008-12-15 07:27:38 +01:00
parent 5e1a3be905
commit 93f485a4e9
15 changed files with 19 additions and 24 deletions

View file

@ -2,8 +2,7 @@
pkgname=MesaLib
version=7.2
wrksrc="Mesa-$version"
distfiles="
http://kent.dl.sourceforge.net/sourceforge/mesa3d/$pkgname-$version.tar.bz2"
distfiles="$SOURCEFORGE_SITE/mesa3d/$pkgname-$version.tar.bz2"
build_style=gnu_configure
make_build_args="MKDEP=mkdep"
configure_args="--with-expat=$XBPS_MASTERDIR"

View file

@ -1,8 +1,7 @@
# Template file for 'e2fsprogs'
pkgname=e2fsprogs
version=1.41.3
distfiles="
http://prdownloads.sourceforge.net/e2fsprogs/$pkgname-$version.tar.gz"
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-htree --enable-elf-shlibs --enable-fsck
--enable-e2initrd-helper --disable-rpath --bindir=/bin --sbindir=/sbin

View file

@ -1,8 +1,7 @@
# Template file for 'expat'
pkgname=expat
version=2.0.1
distfiles="
http://kent.dl.sourceforge.net/sourceforge/expat/$pkgname-$version.tar.gz"
distfiles="$SOURCEFORGE_SITE/expat/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="XML parser library written in C"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -1,7 +1,7 @@
# Template file for 'flex'
pkgname=flex
version=2.5.35
distfiles="http://prdownloads.sourceforge.net/flex/$pkgname-$version.tar.bz2"
distfiles="$SOURCEFORGE_SITE/flex/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--disable-rpath"
short_desc="The Fast Lexical Analyzer"

View file

@ -2,8 +2,7 @@
pkgname=freeglut
version=2.4.0
patch_files="$pkgname-src-Makefile-in.diff"
distfiles="
http://surfnet.dl.sourceforge.net/sourceforge/freeglut/$pkgname-$version.tar.gz"
distfiles="$SOURCEFORGE_SITE/freeglut/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-warnings"
make_cmd="$XBPS_MASTERDIR/bin/gmake"

View file

@ -1,8 +1,7 @@
# Template build file for 'imlib2'.
pkgname=imlib2
version=1.4.0
distfiles="
http://kent.dl.sourceforge.net/sourceforge/enlightenment/$pkgname-$version.tar.gz"
distfiles="$SOURCEFORGE_SITE/enlightenment/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="Image manipulation library"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -1,8 +1,7 @@
# Template build file for 'libexif'.
pkgname=libexif
version=0.6.16
distfiles="
http://kent.dl.sourceforge.net/sourceforge/libexif/$pkgname-$version.tar.bz2"
distfiles="$SOURCEFORGE_SITE/libexif/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_env="ac_cv_path_DOXYGEN=false"
make_cmd="$XBPS_MASTERDIR/bin/gmake"

View file

@ -1,8 +1,7 @@
# Template build file for 'libungif'.
pkgname=libungif
version=4.1.4
distfiles="
http://kent.dl.sourceforge.net/sourceforge/giflib/$pkgname-$version.tar.bz2"
distfiles="$SOURCEFORGE_SITE/giflib/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--without-x"
configure_env="ac_cv_lib_X11_main=no"

View file

@ -1,8 +1,7 @@
# Template build file for 'libwmf'.
pkgname=libwmf
version=0.2.8.4
distfiles="
http://kent.dl.sourceforge.net/sourceforge/wvware/$pkgname-$version.tar.gz"
distfiles="$SOURCEFORGE_SITE/wvware/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="
--with-sysfontmap=$XBPS_MASTERDIR/share/fonts/fontmap

View file

@ -1,8 +1,7 @@
# Template file for 'pcre'
pkgname=pcre
version=7.8
distfiles="
http://kent.dl.sourceforge.net/sourceforge/pcre/$pkgname-$version.tar.bz2"
distfiles="$SOURCEFORGE_SITE/pcre/$pkgname-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-utf8 --enable-unicode-properties"
short_desc="Perl Compatible Regular Expressions"

View file

@ -1,7 +1,7 @@
# Template file for 'procps'
pkgname=procps
version=3.2.7
distfiles="http://procps.sourceforge.net/$pkgname-$version.tar.gz"
distfiles="$SOURCEFORGE_SITE/procps/$pkgname-$version.tar.gz"
build_style=gnu_makefile
make_install_args="DESTDIR=$XBPS_DESTDIR/$pkgname-$version"
short_desc="The /proc file system utilities"

View file

@ -1,8 +1,7 @@
# Template build file for 'xmlcatmgr'.
pkgname=xmlcatmgr
version=2.2
distfiles="
http://kent.dl.sourceforge.net/sourceforge/xmlcatmgr/$pkgname-$version.tar.gz"
distfiles="$SOURCEFORGE_SITE/xmlcatmgr/$pkgname-$version.tar.gz"
build_style=gnu_configure
short_desc="XML and SGML catalog manager"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -1,8 +1,7 @@
# Template build file for 'xstow'.
pkgname=xstow
version=0.6.1-unstable
distfiles="
http://kent.dl.sourceforge.net/sourceforge/xstow/$pkgname-$version.tar.bz2"
distfiles="$SOURCEFORGE_SITE/xstow/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="Replacement of GNU Stow written in C++"
maintainer="Juan RP <xtraeme@gmail.com>"

View file

@ -92,6 +92,7 @@ setup_tmpl()
if [ -f "$XBPS_TEMPLATESDIR/$pkg.tmpl" ]; then
if [ "$pkgname" != "$pkg" ]; then
. $XBPS_SHUTILSDIR/tmpl_vars.sh
. $XBPS_TEMPLATESDIR/$pkg.tmpl
fi
prepare_tmpl

5
utils/sh/tmpl_vars.sh Normal file
View file

@ -0,0 +1,5 @@
#
# Common vars that can be used by templates.
#
SOURCEFORGE_SITE="http://downloads.sourceforge.net/sourceforge"