Browse Source

fix packaging

master
parent
commit
189fe634bd
  1. 8
      imagemagick/imagemagick.spec

8
imagemagick/imagemagick.spec

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

Loading…
Cancel
Save