|
@@ -36,7 +36,7 @@ Distribution: OpenPKG [REL]
|
|
|
Group: Graphics
|
|
Group: Graphics
|
|
|
License: GPL
|
|
License: GPL
|
|
|
Version: %{V_major}.%{V_minor}
|
|
Version: %{V_major}.%{V_minor}
|
|
|
-Release: 20020621
|
|
|
|
|
|
|
+Release: 20020628
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-%{V_major}-%{V_minor}.tar.gz
|
|
Source0: ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-%{V_major}-%{V_minor}.tar.gz
|
|
@@ -62,6 +62,9 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -n ImageMagick-%{V_major}
|
|
%setup -q -n ImageMagick-%{V_major}
|
|
|
|
|
+ %{l_shtool} subst \
|
|
|
|
|
+ -e 's/\([ ]*tagnames=.*echo.*tagnames,CXX.*\)/ if [ ".$tagnames" = . ]; then \1; fi/' \
|
|
|
|
|
+ configure ltdl/configure
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
PATH="%{l_prefix}/bin:$PATH"; export PATH
|
|
PATH="%{l_prefix}/bin:$PATH"; export PATH
|
|
@@ -71,9 +74,6 @@ AutoReqProv: no
|
|
|
CPPFLAGS="-I%{l_prefix}/include -I%{l_prefix}/include/tiff" \
|
|
CPPFLAGS="-I%{l_prefix}/include -I%{l_prefix}/include/tiff" \
|
|
|
CXXFLAGS="%{l_cflags -O}" \
|
|
CXXFLAGS="%{l_cflags -O}" \
|
|
|
LDFLAGS="-L%{l_prefix}/lib" \
|
|
LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
- %{l_shtool} subst \
|
|
|
|
|
- -e 's/\([ ]*tagnames=.*echo.*tagnames,CXX.*\)/ if [ ".$tagnames" = . ]; then \1; fi/' \
|
|
|
|
|
- configure ltdl/configure
|
|
|
|
|
./configure \
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|
|
--prefix=%{l_prefix} \
|
|
|
--without-magick-plus-plus \
|
|
--without-magick-plus-plus \
|