void-packages/templates/glib-2.18.1.tmpl
Juan RP 01799e1e18 Multiple changes to gnu_configure style packages, as well as other
changes to allow better linking flags in future packages through
pkg-config.

Removed the PKGFS_TEMPLATESDIR, PKGFS_DEPSDIR and others that weren't
too useful. Instead use a single PKGFS_DISTRIBUTIONDIR on which all
those directories/files can be found.

Added a template helper for pkg-config, that changes a pkg-config file
after it's installed to produce correct linker paths.

More helpers could be added in the future.

--HG--
extra : convert_revision : a42fd2e72915a4219714de92579011bca2b0f4a6
2008-09-30 22:48:52 +02:00

23 lines
1 KiB
Cheetah
Executable file

# Template build file for 'glib-2.18.1'
pkgname=glib-2.18.1
extract_sufx=".tar.bz2"
patch_files="glib-2.18.1-fix-statfs-netbsd.diff"
url=http://ftp.gnome.org/pub/gnome/sources/glib/2.18
make_cmd="$PKGFS_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"
build_style=gnu_configure
pkgconfig_override="glib-2.0-uninstalled.pc glib-2.0.pc
gmodule-2.0-uninstalled.pc gmodule-2.0.pc gmodule-export-2.0.pc
gmodule-no-export-2.0-uninstalled.pc gmodule-no-export-2.0.pc
gobject-2.0-uninstalled.pc gobject-2.0.pc gthread-2.0-uninstalled.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."