Added tmpl_vars util. Common vars that can be used in templates.
--HG-- extra : convert_revision : 68393e79e5f25d622d9142bf73b09b24ced28733
This commit is contained in:
parent
5e1a3be905
commit
93f485a4e9
15 changed files with 19 additions and 24 deletions
|
@ -2,8 +2,7 @@
|
||||||
pkgname=MesaLib
|
pkgname=MesaLib
|
||||||
version=7.2
|
version=7.2
|
||||||
wrksrc="Mesa-$version"
|
wrksrc="Mesa-$version"
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/mesa3d/$pkgname-$version.tar.bz2"
|
||||||
http://kent.dl.sourceforge.net/sourceforge/mesa3d/$pkgname-$version.tar.bz2"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
make_build_args="MKDEP=mkdep"
|
make_build_args="MKDEP=mkdep"
|
||||||
configure_args="--with-expat=$XBPS_MASTERDIR"
|
configure_args="--with-expat=$XBPS_MASTERDIR"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'e2fsprogs'
|
# Template file for 'e2fsprogs'
|
||||||
pkgname=e2fsprogs
|
pkgname=e2fsprogs
|
||||||
version=1.41.3
|
version=1.41.3
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
|
||||||
http://prdownloads.sourceforge.net/e2fsprogs/$pkgname-$version.tar.gz"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--enable-htree --enable-elf-shlibs --enable-fsck
|
configure_args="--enable-htree --enable-elf-shlibs --enable-fsck
|
||||||
--enable-e2initrd-helper --disable-rpath --bindir=/bin --sbindir=/sbin
|
--enable-e2initrd-helper --disable-rpath --bindir=/bin --sbindir=/sbin
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'expat'
|
# Template file for 'expat'
|
||||||
pkgname=expat
|
pkgname=expat
|
||||||
version=2.0.1
|
version=2.0.1
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/expat/$pkgname-$version.tar.gz"
|
||||||
http://kent.dl.sourceforge.net/sourceforge/expat/$pkgname-$version.tar.gz"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="XML parser library written in C"
|
short_desc="XML parser library written in C"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'flex'
|
# Template file for 'flex'
|
||||||
pkgname=flex
|
pkgname=flex
|
||||||
version=2.5.35
|
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
|
build_style=gnu_configure
|
||||||
configure_args="--disable-rpath"
|
configure_args="--disable-rpath"
|
||||||
short_desc="The Fast Lexical Analyzer"
|
short_desc="The Fast Lexical Analyzer"
|
||||||
|
|
|
@ -2,8 +2,7 @@
|
||||||
pkgname=freeglut
|
pkgname=freeglut
|
||||||
version=2.4.0
|
version=2.4.0
|
||||||
patch_files="$pkgname-src-Makefile-in.diff"
|
patch_files="$pkgname-src-Makefile-in.diff"
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/freeglut/$pkgname-$version.tar.gz"
|
||||||
http://surfnet.dl.sourceforge.net/sourceforge/freeglut/$pkgname-$version.tar.gz"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--disable-warnings"
|
configure_args="--disable-warnings"
|
||||||
make_cmd="$XBPS_MASTERDIR/bin/gmake"
|
make_cmd="$XBPS_MASTERDIR/bin/gmake"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template build file for 'imlib2'.
|
# Template build file for 'imlib2'.
|
||||||
pkgname=imlib2
|
pkgname=imlib2
|
||||||
version=1.4.0
|
version=1.4.0
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/enlightenment/$pkgname-$version.tar.gz"
|
||||||
http://kent.dl.sourceforge.net/sourceforge/enlightenment/$pkgname-$version.tar.gz"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="Image manipulation library"
|
short_desc="Image manipulation library"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template build file for 'libexif'.
|
# Template build file for 'libexif'.
|
||||||
pkgname=libexif
|
pkgname=libexif
|
||||||
version=0.6.16
|
version=0.6.16
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/libexif/$pkgname-$version.tar.bz2"
|
||||||
http://kent.dl.sourceforge.net/sourceforge/libexif/$pkgname-$version.tar.bz2"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_env="ac_cv_path_DOXYGEN=false"
|
configure_env="ac_cv_path_DOXYGEN=false"
|
||||||
make_cmd="$XBPS_MASTERDIR/bin/gmake"
|
make_cmd="$XBPS_MASTERDIR/bin/gmake"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template build file for 'libungif'.
|
# Template build file for 'libungif'.
|
||||||
pkgname=libungif
|
pkgname=libungif
|
||||||
version=4.1.4
|
version=4.1.4
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/giflib/$pkgname-$version.tar.bz2"
|
||||||
http://kent.dl.sourceforge.net/sourceforge/giflib/$pkgname-$version.tar.bz2"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--without-x"
|
configure_args="--without-x"
|
||||||
configure_env="ac_cv_lib_X11_main=no"
|
configure_env="ac_cv_lib_X11_main=no"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template build file for 'libwmf'.
|
# Template build file for 'libwmf'.
|
||||||
pkgname=libwmf
|
pkgname=libwmf
|
||||||
version=0.2.8.4
|
version=0.2.8.4
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/wvware/$pkgname-$version.tar.gz"
|
||||||
http://kent.dl.sourceforge.net/sourceforge/wvware/$pkgname-$version.tar.gz"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--with-sysfontmap=$XBPS_MASTERDIR/share/fonts/fontmap
|
--with-sysfontmap=$XBPS_MASTERDIR/share/fonts/fontmap
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template file for 'pcre'
|
# Template file for 'pcre'
|
||||||
pkgname=pcre
|
pkgname=pcre
|
||||||
version=7.8
|
version=7.8
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/pcre/$pkgname-$version.tar.bz2"
|
||||||
http://kent.dl.sourceforge.net/sourceforge/pcre/$pkgname-$version.tar.bz2"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--enable-utf8 --enable-unicode-properties"
|
configure_args="--enable-utf8 --enable-unicode-properties"
|
||||||
short_desc="Perl Compatible Regular Expressions"
|
short_desc="Perl Compatible Regular Expressions"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'procps'
|
# Template file for 'procps'
|
||||||
pkgname=procps
|
pkgname=procps
|
||||||
version=3.2.7
|
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
|
build_style=gnu_makefile
|
||||||
make_install_args="DESTDIR=$XBPS_DESTDIR/$pkgname-$version"
|
make_install_args="DESTDIR=$XBPS_DESTDIR/$pkgname-$version"
|
||||||
short_desc="The /proc file system utilities"
|
short_desc="The /proc file system utilities"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template build file for 'xmlcatmgr'.
|
# Template build file for 'xmlcatmgr'.
|
||||||
pkgname=xmlcatmgr
|
pkgname=xmlcatmgr
|
||||||
version=2.2
|
version=2.2
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/xmlcatmgr/$pkgname-$version.tar.gz"
|
||||||
http://kent.dl.sourceforge.net/sourceforge/xmlcatmgr/$pkgname-$version.tar.gz"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="XML and SGML catalog manager"
|
short_desc="XML and SGML catalog manager"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
# Template build file for 'xstow'.
|
# Template build file for 'xstow'.
|
||||||
pkgname=xstow
|
pkgname=xstow
|
||||||
version=0.6.1-unstable
|
version=0.6.1-unstable
|
||||||
distfiles="
|
distfiles="$SOURCEFORGE_SITE/xstow/$pkgname-$version.tar.bz2"
|
||||||
http://kent.dl.sourceforge.net/sourceforge/xstow/$pkgname-$version.tar.bz2"
|
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
short_desc="Replacement of GNU Stow written in C++"
|
short_desc="Replacement of GNU Stow written in C++"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
|
|
@ -92,6 +92,7 @@ setup_tmpl()
|
||||||
|
|
||||||
if [ -f "$XBPS_TEMPLATESDIR/$pkg.tmpl" ]; then
|
if [ -f "$XBPS_TEMPLATESDIR/$pkg.tmpl" ]; then
|
||||||
if [ "$pkgname" != "$pkg" ]; then
|
if [ "$pkgname" != "$pkg" ]; then
|
||||||
|
. $XBPS_SHUTILSDIR/tmpl_vars.sh
|
||||||
. $XBPS_TEMPLATESDIR/$pkg.tmpl
|
. $XBPS_TEMPLATESDIR/$pkg.tmpl
|
||||||
fi
|
fi
|
||||||
prepare_tmpl
|
prepare_tmpl
|
||||||
|
|
5
utils/sh/tmpl_vars.sh
Normal file
5
utils/sh/tmpl_vars.sh
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#
|
||||||
|
# Common vars that can be used by templates.
|
||||||
|
#
|
||||||
|
|
||||||
|
SOURCEFORGE_SITE="http://downloads.sourceforge.net/sourceforge"
|
Loading…
Add table
Add a link
Reference in a new issue