void-packages/srcpkgs/glib/template

32 lines
1.1 KiB
Plaintext

# Template build file for 'glib'
pkgname=glib
version=2.36.0
revision=1
subpackages="libglib-devel glib-devel"
build_style=gnu-configure
configure_args="--disable-fam --with-pcre=system --enable-static --enable-man"
hostmakedepends="pkg-config perl python libxslt docbook-xsl"
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel dbus-devel elfutils-devel"
short_desc="The GNU library of C routines"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gtk.org/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/glib/2.36/glib-$version.tar.xz"
checksum=455a8abe8692c5174bcc7ffa15b96a7521a2f2f9fb47594405927c35cb9bb227
if [ "$CROSS_BUILD" ]; then
configure_args="${configure_args} glib_cv_long_long_format=I64
glib_cv_stack_grows=no glib_cv_rtldglobal_broken=no
glib_cv_uscore=no blib_cv_use_pid_surrogate=yes
ac_cv_func_vsnprintf_c99=yes
ac_cv_func_printf_unix98=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getgrgid_r=yes"
hostmakedepends="${hostmakedepends} libtool automake which
gtk-doc gettext-devel glib-devel"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
fi