diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-24 13:37:24 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-24 13:37:24 +0100 |
commit | 0ed8c5474b6d5033fef536500cfc4d64c6debc66 (patch) | |
tree | 1d83028a795317ef3205a17fe4264b877e141550 /package/glib/Makefile | |
parent | 8dc8aee37a0acdac4f9527bb9bf4ee1e7d845928 (diff) |
update to latest upstream version
* fix compile for cris architecture
* fix compile under Cygwin. A full glib host build is
required for glib-compile-schema and glib-genmarshal
Diffstat (limited to 'package/glib/Makefile')
-rw-r--r-- | package/glib/Makefile | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/package/glib/Makefile b/package/glib/Makefile index 3c8045392..d3b4dbd9b 100644 --- a/package/glib/Makefile +++ b/package/glib/Makefile @@ -4,15 +4,16 @@ include ${TOPDIR}/rules.mk PKG_NAME:= glib -PKG_VERSION:= 2.27.5 +PKG_VERSION:= 2.28.1 +PKG_EXTRAVER:= 2.28 PKG_RELEASE:= 1 -PKG_MD5SUM:= ad9c80adb624a1ffe3d9753bab8a578a +PKG_MD5SUM:= 9f6e85e1e38490c3956f4415bcd33e6e PKG_DESCR:= low-level core library that forms the basis of GTK+ PKG_SECTION:= libs PKG_DEPENDS:= libintl libiconv libpthread PKG_BUILDDEP:= gettext libiconv PKG_URL:= http://www.gtk.org/ -PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/glib/2.27/ +PKG_SITES:= http://ftp.gnome.org/pub/gnome/sources/glib/${PKG_EXTRAVER}/ ifeq ($(ADK_STATIC),y) PKG_OPTS:= libonly @@ -39,15 +40,9 @@ pre-configure: ifneq ($(OStype),Darwin) (cd ${WRKBUILD}; rm -rf config.{cache,status}; \ ./configure --prefix=$(STAGING_HOST_DIR) \ - --with-libiconv=gnu \ - --enable-debug=no \ - --with-threads=posix \ ); - env CFLAGS="-static" LDFLAGS="-static -liconv" ${MAKE} -C ${WRKBUILD}/glib - env CFLAGS="-static" LDFLAGS="-static" ${MAKE} -C ${WRKBUILD}/gthread - env CFLAGS="-static" LDFLAGS="-static" ${MAKE} -C ${WRKBUILD}/gio glib-compile-schemas - env CFLAGS="-static" LDFLAGS="-static" ${MAKE} -C ${WRKBUILD}/gobject glib-genmarshal - $(CP) ${WRKBUILD}/gio/glib-compile-schemas ${STAGING_HOST_DIR}/bin + env CFLAGS="-static" LDFLAGS="-static -liconv" ${MAKE} -C ${WRKBUILD} + $(CP) ${WRKBUILD}/gio/.libs/glib-compile-schemas ${STAGING_HOST_DIR}/bin $(CP) ${WRKBUILD}/gobject/.libs/glib-genmarshal ${STAGING_HOST_DIR}/bin ${MAKE} -C ${WRKBUILD} clean endif |