Browse Source

add support for TIFF, PNG, JPEG and TTF

master
parent
commit
f5ec594766
  1. 11
      imagemagick/imagemagick.spec

11
imagemagick/imagemagick.spec

@ -36,7 +36,7 @@ Distribution: OpenPKG [EXP]
Group: Graphics
License: GPL
Version: %{V_major}.%{V_minor}
Release: 20020107
Release: 20020116
# list of sources
Source0: ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-%{V_major}-%{V_minor}.tar.gz
@ -44,7 +44,7 @@ Source0: ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-%{V_major}-%
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20011227, make, gcc
BuildPreReq: OpenPKG, openpkg >= 20011227, make, gcc, tiff, jpeg, bzip2, zlib, png, freetype
PreReq: OpenPKG, openpkg >= 20011227
AutoReq: no
AutoReqProv: no
@ -67,12 +67,17 @@ AutoReqProv: no
PATH="%{l_prefix}/bin:$PATH"; export PATH
CC="%{l_cc}" \
CXX="%{l_cxx}" \
CFLAGS="%{l_cflags -O}" \
CFLAGS="%{l_cflags -O} -I%{l_prefix}/include -I%{l_prefix}/include/tiff" \
CPPFLAGS="-I%{l_prefix}/include -I%{l_prefix}/include/tiff" \
CXXFLAGS="%{l_cflags -O}" \
LDFLAGS="-L%{l_prefix}/lib" \
./configure \
--prefix=%{l_prefix} \
--without-magick-plus-plus \
--enable-lzw \
--with-tiff \
--with-jpeg \
--with-png \
--without-perl \
--without-threads \
--without-x

Loading…
Cancel
Save