|
|
@@ -47,7 +47,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20040318
|
|
|
+Release: 20040421
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/GD/GD-%{V_gd}.tar.gz
|
|
|
@@ -154,7 +154,20 @@ AutoReqProv: no
|
|
|
|
|
|
%install
|
|
|
%{l_prefix}/bin/perl-openpkg prepare
|
|
|
- %{l_prefix}/bin/perl-openpkg -d %{SOURCE0} configure build install
|
|
|
+ ( cd GD-%{V_gd}
|
|
|
+ %{l_shtool} subst \
|
|
|
+ -e 's/\(@INC = qw(\).*\();\)/\1\2/' \
|
|
|
+ -e 's/\(@LIBPATH = qw(\).*\();\)/\1\2/' \
|
|
|
+ Makefile.PL
|
|
|
+ %{l_prefix}/bin/perl-openpkg \
|
|
|
+ -A '-options JPEG,FT' \
|
|
|
+ -A '-lib_gd_path %{l_prefix}' \
|
|
|
+ -A '-lib_png_path %{l_prefix}' \
|
|
|
+ -A '-lib_zlib_path %{l_prefix}' \
|
|
|
+ -A '-lib_jpeg_path %{l_prefix}' \
|
|
|
+ -A '-lib_ft_path %{l_prefix}' \
|
|
|
+ configure build install
|
|
|
+ ) || exit $?
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE1} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
|