wok-current annotate imagemagick/receipt @ rev 14860

Up: gaupol (0.19)
author Claudinei Pereira <claudinei@slitaz.org>
date Mon Jul 22 18:18:34 2013 -0300 (2013-07-22)
parents edd415d792d3
children de49f29b101e
rev   line source
pankso@294 1 # SliTaz package receipt.
pankso@294 2
pankso@294 3 PACKAGE="imagemagick"
pascal@14393 4 VERSION="6.8.4-10"
pascal@6413 5 SHORT_VERSION="${VERSION%-*}"
pankso@294 6 CATEGORY="graphics"
pankso@294 7 SHORT_DESC="Images manipulation programs."
pankso@294 8 MAINTAINER="pankso@slitaz.org"
pankso@294 9 SOURCE="ImageMagick"
slaxemulator@7348 10 TARBALL="$SOURCE-$VERSION.tar.xz"
pankso@294 11 WEB_SITE="http://www.imagemagick.org/"
pascal@14394 12 WGET_URL="http://mirror.checkdomain.de/$PACKAGE/$TARBALL"
jozee@4938 13 TAGS="image photo toolkit"
pankso@294 14
pascal@14393 15 DEPENDS="xorg-libXext jpeg libpng tiff libxml2 freetype libgomp bzlib expat \
pascal@14393 16 fontconfig lcms jasper ilmbase openexr graphviz librsvg libgsf libgio cairo \
pascal@14393 17 pango gcc-lib-base jbigkit libcroco fftw libltdl"
pascal@14393 18 BUILD_DEPENDS="xorg-libXext-dev jpeg-dev libpng-dev tiff-dev libxml2-dev \
pascal@14393 19 freetype-dev bzip2-dev expat-dev fontconfig-dev lcms-dev jasper-dev \
pascal@14393 20 ilmbase-dev openexr-dev graphviz-dev librsvg-dev libgsf-dev libgio-dev \
pascal@14393 21 cairo-dev pango-dev libcroco-dev fftw-dev util-linux-uuid-dev libtool"
pascal@14393 22
pankso@294 23 # Rules to configure and make the package.
pankso@294 24 compile_rules()
pankso@294 25 {
pankso@294 26 cd $src
pankso@294 27 ./configure \
pankso@294 28 --prefix=/usr \
pankso@294 29 --infodir=/usr/share/info \
pankso@294 30 --mandir=/usr/share/man \
slaxemulator@12937 31 --sysconfdir=/etc \
pascal@2311 32 --without-perl \
devl547@10894 33 --with-magick-plus-plus \
slaxemulator@12937 34 --with-modules \
devl547@10893 35 --enable-hdri \
pascal@2310 36 $CONFIGURE_ARGS &&
gokhlayeh@11574 37 make $MAKEFLAGS &&
pascal@12623 38 make DESTDIR=$DESTDIR install
pankso@294 39 }
pankso@294 40
pankso@294 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@294 42 genpkg_rules()
pankso@294 43 {
pankso@294 44 mkdir -p $fs/usr/lib $fs/usr/share
pascal@14393 45 cp -a $install/etc $fs
pascal@14393 46 cp -a $install/usr/bin $fs/usr
pascal@14393 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14393 48 cp -a $install/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
pascal@14394 49 cp -a $install/usr/share/$SOURCE-* $fs/usr/share
pankso@294 50 }
pankso@294 51