void-packages/templates/glib.tmpl
Juan RP b52d064544 Major changes to support multiple distfiles in templates.
Each template now needs to use $distfiles that accepts the full
URL to download the distfile and old $extract_sufx is now merged
on it, but this must be separated by the '@' character. Example:

distfiles="http://www.foo.org/blah-6.2@.tar.gz
http://www.foo.org/blob-1.0@.tar.bz2"

If distfiles contains multiple files defined, $wrksrc is now
mandatory.

--HG--
extra : convert_revision : 1c3fa35f148af8323ce3cbcf5732104960de6bc4
2008-10-14 07:52:29 +02:00

24 lines
960 B
Cheetah

# Template build file for 'glib'
pkgname=glib
version=2.18.1
patch_files="$pkgname-fix-statfs-netbsd.diff"
distfiles="
http://ftp.gnome.org/pub/gnome/sources/glib/2.18/$pkgname-$version@.tar.bz2"
make_cmd="$XBPS_MASTERDIR/bin/gmake"
# Disable FAM for now and use the installed pcre package instead
# of the supplied one.
configure_args="--disable-fam --with-pcre=system"
configure_env="ac_cv_func_statfs=no"
ignore_files="charset.alias"
build_style=gnu_configure
pkgconfig_override="glib-2.0.pc gmodule-2.0.pc gmodule-export-2.0.pc
gmodule-no-export-2.0.pc gobject-2.0.pc gthread-2.0.pc gio-2.0.pc
gio-unix-2.0.pc"
short_desc="The GNU library of C routines"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=264b37584419d983685910adde8f7b282eccc1ad
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
C library used by projects such as GTK+, GIMP and GNOME."