# !/bin/sh
# Build and create package for ImageMagick
 
#-----------------------------------------------------------------------
-------
#
# initialize the variables
#
#-----------------------------------------------------------------------
-------
 
# the current directory
CWD=`pwd`
 
# the source name
SOURCE=imagemagick.com
 
# the product
PRODUCT=imagemagick
 
# the version number
VERSION=6.3.8
 
# the file version
FILEVERSION=6.3.8-6
 
# the architecture
ARCH=${ARCH:-i486}
 
# the build number
BUILD=${BUILD:-1}
 
# the directory where the package is created after imagemagick is
installed
PKG=/usr/opt/$SOURCE/$PRODUCT
 
# the directory where the package is created
INSTALLDIR=$CWD/package/$PRODUCT
 
#-----------------------------------------------------------------------
-------
#
# build the package
#
#-----------------------------------------------------------------------
-------
 
# move to the current directory
cd $CWD
 
# extract the source
tar xvf ImageMagick-$FILEVERSION.tar.bz2
 
# move to the source directory
cd ImageMagick-$VERSION
 
#-----------------------------------------------------------------------
-------
#
# configure ImageMagick
#
#-----------------------------------------------------------------------
-------
 
./configure \
 --prefix=$PKG \
 --program-prefix= \
 --enable-16bit-pixel \
 --with-frozenpaths=no \
 --with-magick-plus-plus=yes \
 --enable-static=no \
 --enable-shared \
 --with-jpeg \
 --with-jp2 \
 --with-tiff \
 --with-png \
 --with-zlib \
 --with-quantum-depth=8 \
 --without-perl \
 --without-x \
 

# build imagemagick
make -j4 2> $CWD/make.err || exit
 
# install imagemagick
make install DESTDIR=$INSTALLDIR
 

#-----------------------------------------------------------------------
-------
#
# make the package
#
#-----------------------------------------------------------------------
-------
 
# create the install directory
mkdir -p $INSTALLDIR/install
 
# move the slack-desc file to the install directory
cat $CWD/slack-desc > $INSTALLDIR/install/slack-desc
 
# gzip the man pages
gzip -9 $INSTALLDIR$PKG/usr/man/man?/*.?
 
# move to the install directory
cd $INSTALLDIR
 
# make the package
makepkg -l y -c n $CWD/imagemagick-$VERSION-$ARCH-$BUILD.tgz
 
cd $CWD
 
#-----------------------------------------------------------------------
-------


________________________________

From: Geetha, ANGLER - EIT 
Sent: Tuesday, November 11, 2008 12:15 PM
To: '[email protected]'
Subject: No package 'ImageMagick++' found


Hi all,
 
I have rebuilt the imagemagick package for my project.
 
Herewith attached the slackbuild. please find it.
 
The package has been installed and working also.
 
I tried to install Zebra barcode reader, it needs imagemagick ,
 
while building Zebra from source, getting below error.

        
        checking for MAGICK... configure: error: Package requirements
(ImageMagick++ >= 6.2.6) were not met:

         
        No package 'ImageMagick++' found
         
        Consider adjusting the PKG_CONFIG_PATH environment variable if
you
        installed software in a non-standard prefix.
         
        Alternatively, you may set the environment variables
MAGICK_CFLAGS
        and MAGICK_LIBS to avoid the need to call pkg-config.
        See the pkg-config man page for more details.

Please help, what I need to change in my script.
 

Best Regards,

 

Geetha  S | System and Software Engineer

email: [EMAIL PROTECTED]

 

ANGLER Technologies India - Your Offshore Development Partner - An ISO
9001 Company

Contact us for your high quality Software Outsourcing
<blocked::http://www.angleritech.com/offshore/outsourced_product_develop
ment.html> , E-Business Products
<blocked::http://www.angleritech.com/ebusiness/index.html>  and Design
Solutions <blocked::http://www.angleritech.com/design/index.html> 

 

web         :    www.angleritech.com
<blocked::http://www.angleritech.com/>  
tel            :    +91 422 2312707, 2313938
fax           :    +91 422 2313936
address   :    1144 Trichy Road, Coimbatore, 641045, India 

offices <blocked::http://www.angleritech.com/contact/index.html>      :
India | USA | UK | Canada | Germany | Benelux | UAE | South Africa |
Singapore | Hong Kong

 

Disclaimer: The information in the email, files and communication are
strictly confidential and meant for the intended recipients. It may
contain proprietary information. If you are not an intended recipient;
any form of disclosure, copyright, distribution and any other means of
use of information is unauthorised and subject to legal implications. We
do not accept any liability for the transmission of incomplete, delayed
communication and recipients must check this email and any attachments
for the presence of viruses before downloading them. 

 

 
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to