wok-6.x annotate cinepaint/receipt @ rev 13212

Up cinepaint (1.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 08 08:26:22 2012 +0200 (2012-08-08)
parents fe6ca5cfd1ff
children 1040bd60b471
rev   line source
slaxemulator@6560 1 # SliTaz package receipt.
slaxemulator@6560 2
slaxemulator@6560 3 PACKAGE="cinepaint"
pascal@13212 4 VERSION="1.3"
slaxemulator@6560 5 CATEGORY="graphics"
slaxemulator@6560 6 SHORT_DESC="For painting and retouching bitmap frames of films."
slaxemulator@6560 7 MAINTAINER="slaxemulator@gmail.com"
pascal@13212 8 TARBALL="$PACKAGE-$VERSION.tgz"
slaxemulator@6560 9 WEB_SITE="http://www.cinepaint.org"
slaxemulator@6560 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6560 11
gokhlayeh@11569 12 DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm \
gokhlayeh@11569 13 gutenprint zlib mesa jbigkit openexr"
erjo@9944 14 BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \
pascal@13212 15 xorg-xextproto util-linux-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
pascal@13212 16 ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev bash automake autoconf libtool \
pascal@13212 17 python-dev"
erjo@9944 18
slaxemulator@6560 19 # Rules to configure and make the package.
slaxemulator@6560 20 compile_rules()
slaxemulator@6560 21 {
slaxemulator@6560 22 cd $src
pascal@13212 23 sh ./autogen.sh
slaxemulator@6560 24 ./configure \
slaxemulator@6560 25 --prefix=/usr \
slaxemulator@6560 26 --enable-gtk2 \
slaxemulator@6560 27 --disable-print \
slaxemulator@6560 28 $CONFIGURE_ARGS &&
erjo@9944 29 make && make DESTDIR=$DESTDIR install
slaxemulator@6560 30 }
slaxemulator@6560 31
slaxemulator@6560 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6560 33 genpkg_rules()
slaxemulator@6560 34 {
slaxemulator@6560 35 mkdir -p $fs/usr/share $fs/usr/lib
pascal@13212 36 cp -a $install/usr/bin $fs/usr
pascal@13212 37 cp -a $install/usr/lib/cinepaint $fs/usr/lib
pascal@13212 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13212 39 cp -a $install/usr/share/cinepaint $fs/usr/share
pascal@13212 40 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@13212 41 cp -a $install/usr/share/applications $fs/usr/share
pascal@13212 42 cp -a $install/usr/share/fonts $fs/usr/share
slaxemulator@6560 43 }
slaxemulator@6560 44