wok-6.x annotate imagemagick/receipt @ rev 16237

ARM: add libsdl-net, libsdl-image, libsdl-mixer, libsdl-ttf
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 02 10:38:57 2014 +0200 (2014-04-02)
parents b98b29955277
children 6f05c710673c
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"
pascal@15600 9 LICENSE="Apache"
pankso@294 10 SOURCE="ImageMagick"
slaxemulator@7348 11 TARBALL="$SOURCE-$VERSION.tar.xz"
pankso@294 12 WEB_SITE="http://www.imagemagick.org/"
pascal@14394 13 WGET_URL="http://mirror.checkdomain.de/$PACKAGE/$TARBALL"
jozee@4938 14 TAGS="image photo toolkit"
pankso@294 15
pascal@14393 16 DEPENDS="xorg-libXext jpeg libpng tiff libxml2 freetype libgomp bzlib expat \
pascal@14393 17 fontconfig lcms jasper ilmbase openexr graphviz librsvg libgsf libgio cairo \
pascal@14393 18 pango gcc-lib-base jbigkit libcroco fftw libltdl"
pascal@14393 19 BUILD_DEPENDS="xorg-libXext-dev jpeg-dev libpng-dev tiff-dev libxml2-dev \
pascal@14393 20 freetype-dev bzip2-dev expat-dev fontconfig-dev lcms-dev jasper-dev \
pascal@14393 21 ilmbase-dev openexr-dev graphviz-dev librsvg-dev libgsf-dev libgio-dev \
pascal@14393 22 cairo-dev pango-dev libcroco-dev fftw-dev util-linux-uuid-dev libtool"
pascal@14393 23
pankso@294 24 # Rules to configure and make the package.
pankso@294 25 compile_rules()
pankso@294 26 {
pankso@294 27 cd $src
pankso@294 28 ./configure \
pankso@294 29 --prefix=/usr \
pankso@294 30 --infodir=/usr/share/info \
pankso@294 31 --mandir=/usr/share/man \
slaxemulator@12937 32 --sysconfdir=/etc \
pascal@2311 33 --without-perl \
devl547@10894 34 --with-magick-plus-plus \
slaxemulator@12937 35 --with-modules \
devl547@10893 36 --enable-hdri \
pascal@2310 37 $CONFIGURE_ARGS &&
gokhlayeh@11574 38 make $MAKEFLAGS &&
pascal@12623 39 make DESTDIR=$DESTDIR install
pankso@294 40 }
pankso@294 41
pankso@294 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@294 43 genpkg_rules()
pankso@294 44 {
pankso@294 45 mkdir -p $fs/usr/lib $fs/usr/share
pascal@14393 46 cp -a $install/etc $fs
pascal@14393 47 cp -a $install/usr/bin $fs/usr
pascal@14393 48 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14393 49 cp -a $install/usr/lib/$SOURCE-$SHORT_VERSION $fs/usr/lib
pascal@14394 50 cp -a $install/usr/share/$SOURCE-* $fs/usr/share
pankso@294 51 }
pankso@294 52