Difference between revisions of "ImageMagick"
From CBLFS
Jump to navigationJump to searchWeibullguy (talk | contribs) m |
(→Multilib) |
||
Line 72: | Line 72: | ||
mv -v /usr/bin/Magick-config{,-32} && | mv -v /usr/bin/Magick-config{,-32} && | ||
mv -v /usr/bin/Magick++-config{,-32} && | mv -v /usr/bin/Magick++-config{,-32} && | ||
+ | mv -v /usr/bin/Wand-config{,-32} && | ||
unset USE_ARCH | unset USE_ARCH | ||
Line 91: | Line 92: | ||
mv -v /usr/bin/Magick-config{,-n32} && | mv -v /usr/bin/Magick-config{,-n32} && | ||
mv -v /usr/bin/Magick++-config{,-n32} && | mv -v /usr/bin/Magick++-config{,-n32} && | ||
+ | mv -v /usr/bin/Wand-config{,-n32} && | ||
unset USE_ARCH | unset USE_ARCH | ||
Line 112: | Line 114: | ||
mv -v /usr/bin/Magick++-config{,-64} && | mv -v /usr/bin/Magick++-config{,-64} && | ||
ln -sfv multiarch_wrapper /usr/bin/Magick++-config && | ln -sfv multiarch_wrapper /usr/bin/Magick++-config && | ||
+ | mv -v /usr/bin/Wand-config{,-64} && | ||
+ | ln -sfv multiarch_wrapper /usr/bin/Wand-config && | ||
unset USE_ARCH | unset USE_ARCH |
Revision as of 12:40, 4 March 2007
ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.9-3.tar.bz2
Contents
Dependencies
Required
Optional
Non-Multilib
Compile the package:
./configure --prefix=/usr --with-modules && make
Install the package:
make install
Multilib
32Bit
Compile the package:
export USE_ARCH=32 && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ PKG_CONFIG_PATH="$PKG_CONFIG_PATH32" \ ./configure --prefix=/usr --with-modules && make
Install the package:
make install && mv -v /usr/bin/Magick-config{,-32} && mv -v /usr/bin/Magick++-config{,-32} && mv -v /usr/bin/Wand-config{,-32} && unset USE_ARCH
N32
Compile the package:
export USE_ARCH=n32 && sed -i "/-L/s:/lib:&32:" configure && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \ PKG_CONFIG_PATH="$PKG_CONFIG_PATHN32" \ ./configure --prefix=/usr --libdir=/usr/lib32 \ --with-modules && make
Install the package:
make install && mv -v /usr/bin/Magick-config{,-n32} && mv -v /usr/bin/Magick++-config{,-n32} && mv -v /usr/bin/Wand-config{,-n32} && unset USE_ARCH
64Bit
Compile the package:
export USE_ARCH=64 && sed -i "/-L/s:/lib:&64:" configure && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ PKG_CONFIG_PATH="$PKG_CONFIG_PATH64" \ ./configure --prefix=/usr --libdir=/usr/lib64 \ --with-modules && make
Install the package:
make install && mv -v /usr/bin/Magick-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/Magick-config && mv -v /usr/bin/Magick++-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/Magick++-config && mv -v /usr/bin/Wand-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/Wand-config && unset USE_ARCH