2008-10-04 06:29:49 +02:00
|
|
|
# Template build file for 'glib'
|
|
|
|
pkgname=glib
|
2013-03-28 06:22:06 +01:00
|
|
|
version=2.36.0
|
|
|
|
revision=1
|
2013-02-15 10:07:07 +01:00
|
|
|
subpackages="libglib-devel glib-devel"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-03-24 10:21:58 +01:00
|
|
|
configure_args="--disable-fam --with-pcre=system --enable-static --enable-man"
|
2013-03-28 06:22:06 +01:00
|
|
|
hostmakedepends="pkg-config perl python libxslt docbook-xsl"
|
|
|
|
makedepends="zlib-devel pcre-devel>=8.30 libffi-devel dbus-devel elfutils-devel"
|
2008-09-26 21:59:07 +02:00
|
|
|
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"
|
2013-03-28 06:22:06 +01:00
|
|
|
distfiles="${GNOME_SITE}/glib/2.36/glib-$version.tar.xz"
|
|
|
|
checksum=455a8abe8692c5174bcc7ffa15b96a7521a2f2f9fb47594405927c35cb9bb227
|
2013-02-13 10:38:27 +01:00
|
|
|
|
2013-03-24 10:21:58 +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
|
2013-02-26 16:32:59 +01:00
|
|
|
ac_cv_func_posix_getgrgid_r=yes"
|
2013-03-28 06:22:06 +01:00
|
|
|
hostmakedepends="${hostmakedepends} libtool automake which
|
|
|
|
gtk-doc gettext-devel glib-devel"
|
2013-02-13 10:38:27 +01:00
|
|
|
pre_configure() {
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
fi
|