glib: fix native build.

This commit is contained in:
Juan RP 2013-08-07 20:46:49 +02:00
parent 078ebe75de
commit 15dbed9070
1 changed files with 6 additions and 5 deletions

View File

@ -4,7 +4,7 @@ version=2.36.4
revision=1
build_style=gnu-configure
configure_args="--disable-fam --with-pcre=system --enable-static"
hostmakedepends="pkg-config perl python libxslt docbook-xsl automake"
hostmakedepends="pkg-config libtool gtk-doc gettext-devel perl python libxslt docbook-xsl which automake"
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>"
@ -22,12 +22,13 @@ if [ "$CROSS_BUILD" ]; then
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_posix_getgrgid_r=yes
ac_cv_func_posix_getgrgid_r=yes"
hostmakedepends+=" libtool automake which gtk-doc gettext-devel glib-devel"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
hostmakedepends+=" glib-devel"
fi
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
libglib-devel_package() {
depends="zlib-devel pcre-devel libffi-devel glib-${version}_${revision}"
short_desc+=" - development files"