glib: add autoreconf support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-25 18:19:31 +01:00
parent a7db7f094b
commit 53cc891fae
2 changed files with 12 additions and 4 deletions

View File

@ -2,11 +2,14 @@
. config/options $1
# Fails to compile with GCC link time optimization, outputing the error:
# "mem-overflow.c:137:1: sorry, unimplemented: gimple bytecode streams do not support the optimization attribute".
# CFLAGS=`echo $CFLAGS | sed -e "s|-flto||"`
# LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||"`
cd $PKG_BUILD
mkdir -p .build-target && cd .build-target
mkdir -p .build-target
cd .build-target
ac_cv_func_posix_getpwuid_r='yes' \
ac_cv_func_posix_getgrgid_r='yes' \
glib_cv_uscore='no' \
@ -42,3 +45,6 @@ $MAKEINSTALL
# cp glib/glibconfig.h $SYSROOT_PREFIX/usr/include/glib-2.0
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
cp g*-2.0.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
mkdir -p $SYSROOT_PREFIX/usr/share/aclocal
cp ../m4macros/glib-gettext.m4 $SYSROOT_PREFIX/usr/share/aclocal

View File

@ -6,9 +6,11 @@ PKG_LICENSE="LGPL"
PKG_SITE="http://www.gtk.org/"
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.27/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="zlib dbus"
PKG_BUILD_DEPENDS="toolchain zlib dbus glib-host"
PKG_BUILD_DEPENDS="toolchain zlib dbus gtk-doc glib-host"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="glib: C support library"
PKG_LONGDESC="GLib is a library which includes support routines for C such as lists, trees, hashes, memory allocation, and many other things."
PKG_IS_ADDON="no"
PKG_AUTORECONF="yes"