|
|
|
|
@ -36,7 +36,7 @@ Class: BASE
|
|
|
|
|
Group: Algorithm |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_glib2_major}.%{V_glib2_minor} |
|
|
|
|
Release: 20120712 |
|
|
|
|
Release: 20120713 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_threads yes |
|
|
|
|
@ -46,7 +46,7 @@ Source0: http://ftp.gnome.org/pub/gnome/sources/glib/%{V_glib2_major}/glib-
|
|
|
|
|
Patch0: glib2.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20120101, perl, make, pkgconfig |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20120101, perl, make |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20120101, perl |
|
|
|
|
BuildPreReq: gettext, libiconv, pcre, pcre::with_utf8 = yes, libffi |
|
|
|
|
PreReq: gettext, libiconv, pcre, pcre::with_utf8 = yes, libffi |
|
|
|
|
@ -116,6 +116,10 @@ PreReq: gettext, libiconv, pcre, pcre::with_utf8 = yes, libffi
|
|
|
|
|
CPPFLAGS="%{l_cppflags}" \ |
|
|
|
|
LDFLAGS="%{l_ldflags}" \ |
|
|
|
|
LIBS="$libs" \ |
|
|
|
|
LIBFFI_CFLAGS="%{l_cppflags}" \ |
|
|
|
|
LIBFFI_LIBS="%{l_ldflags} -lffi" \ |
|
|
|
|
PCRE_CFLAGS="%{l_cppflags pcre .}" \ |
|
|
|
|
PCRE_LIBS="%{l_ldflags} -lpcre" \ |
|
|
|
|
PERL="%{l_prefix}/bin/perl" \ |
|
|
|
|
PERL_PATH="%{l_prefix}/bin/perl" \ |
|
|
|
|
GREP="grep" \ |
|
|
|
|
|