void-packages/srcpkgs/glib/template

33 lines
1.2 KiB
Plaintext
Raw Normal View History

# Template build file for 'glib'
pkgname=glib
2012-11-26 22:16:14 +01:00
version=2.34.3
revision=3
subpackages="libglib-devel glib-devel"
build_style=gnu-configure
configure_args="--disable-fam --with-pcre=system --enable-static --enable-man"
hostmakedepends="pkg-config python libxslt docbook-xsl"
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel"
short_desc="The GNU library of C routines"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-06-06 08:30:19 +02:00
homepage="http://www.gtk.org/"
license="LGPL-2.1"
2012-09-24 08:56:05 +02:00
distfiles="${GNOME_SITE}/glib/2.34/glib-$version.tar.xz"
2012-11-26 22:16:14 +01:00
checksum=855fcbf87cb93065b488358e351774d8a39177281023bae58c286f41612658a7
2013-02-13 10:38:27 +01:00
if [ "$XBPS_CROSS_BUILD" ]; then
2013-02-13 10:38:27 +01:00
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="automake gettext-devel which gtk-doc pkg-config glib-devel"
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel"
2013-02-13 10:38:27 +01:00
pre_configure() {
sed -e "s|AM_PROG_CC_STDC|AC_PROG_CC|g" -i configure.ac
NOCONFIGURE=1 ./autogen.sh
}
fi