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