summaryrefslogtreecommitdiff
path: root/package/glib
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-11-17 12:51:17 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-11-17 12:51:17 +0100
commitafb9908771db100ee97bb933fcca850c4f49af5a (patch)
treecb6897ec4bdffa1504caf3e52688b994bcf4b794 /package/glib
parent442ae3a70f492fb16440ca081309638de0a6bd1b (diff)
revert pre-configure changes for Linux build host
Diffstat (limited to 'package/glib')
-rw-r--r--package/glib/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/package/glib/Makefile b/package/glib/Makefile
index 3ee7190d0..6d40e48c5 100644
--- a/package/glib/Makefile
+++ b/package/glib/Makefile
@@ -6,7 +6,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= glib
PKG_VERSION:= 2.28.1
PKG_EXTRAVER:= 2.28
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 9f6e85e1e38490c3956f4415bcd33e6e
PKG_DESCR:= low-level core library that forms the basis of GTK+
PKG_SECTION:= libs
@@ -42,6 +42,20 @@ CONFIGURE_ENV+= glib_cv_long_long_format=ll \
ac_cv_func_posix_getpwuid_r=yes \
ac_cv_func_posix_getgrgid_r=yes
+pre-configure:
+ifeq ($(OStype),Linux)
+ (cd ${WRKBUILD}; rm -rf config.{cache,status}; \
+ ./configure --prefix=$(STAGING_HOST_DIR) \
+ --with-libiconv=gnu \
+ )
+ ${MAKE} -C ${WRKBUILD} V=1
+ $(CP) ${WRKBUILD}/gio/.libs/glib-compile-schemas ${STAGING_HOST_DIR}/bin
+ $(CP) ${WRKBUILD}/gobject/.libs/glib-genmarshal ${STAGING_HOST_DIR}/bin
+ $(CP) ${WRKBUILD}/gobject/glib-mkenums ${STAGING_HOST_DIR}/bin
+ ${MAKE} -C ${WRKBUILD} clean
+endif
+
+
glib-install:
${INSTALL_DIR} ${IDIR_GLIB}/usr/lib
${CP} ${WRKINST}/usr/lib/libgio*.so* ${IDIR_GLIB}/usr/lib