wok-6.x annotate cinepaint/receipt @ rev 18158
Up: cookutils (744): cook pkgdb: report absents, remove duplicates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 22 12:21:26 2015 +0300 (2015-06-22) |
parents | 04b42e0fdee7 |
children | 6e8b1bcb30e2 |
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@15023 | 8 LICENSE="MIT GPL LGPL" |
pascal@13212 | 9 TARBALL="$PACKAGE-$VERSION.tgz" |
slaxemulator@6560 | 10 WEB_SITE="http://www.cinepaint.org" |
slaxemulator@6560 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6560 | 12 |
gokhlayeh@11569 | 13 DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm \ |
gokhlayeh@11569 | 14 gutenprint zlib mesa jbigkit openexr" |
erjo@9944 | 15 BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \ |
pascal@13212 | 16 xorg-xextproto util-linux-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \ |
pascal@13212 | 17 ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev bash automake autoconf libtool \ |
pascal@13212 | 18 python-dev" |
erjo@9944 | 19 |
slaxemulator@6560 | 20 # Rules to configure and make the package. |
slaxemulator@6560 | 21 compile_rules() |
slaxemulator@6560 | 22 { |
slaxemulator@6560 | 23 cd $src |
pascal@13212 | 24 sh ./autogen.sh |
slaxemulator@6560 | 25 ./configure \ |
slaxemulator@6560 | 26 --prefix=/usr \ |
slaxemulator@6560 | 27 --enable-gtk2 \ |
slaxemulator@6560 | 28 --disable-print \ |
pascal@15278 | 29 $CONFIGURE_ARGS 2>&1 | grep -v 'ls: argyll-0.60:' && |
pascal@15280 | 30 { |
pascal@15280 | 31 make && make DESTDIR=$DESTDIR install |
pascal@15280 | 32 } 2>&1 | grep -v "rename 'pygimp/..html':" |
slaxemulator@6560 | 33 } |
slaxemulator@6560 | 34 |
slaxemulator@6560 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6560 | 36 genpkg_rules() |
slaxemulator@6560 | 37 { |
slaxemulator@6560 | 38 mkdir -p $fs/usr/share $fs/usr/lib |
pascal@13212 | 39 cp -a $install/usr/bin $fs/usr |
pascal@13212 | 40 cp -a $install/usr/lib/cinepaint $fs/usr/lib |
pascal@13212 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13212 | 42 cp -a $install/usr/share/cinepaint $fs/usr/share |
pascal@13212 | 43 cp -a $install/usr/share/pixmaps $fs/usr/share |
pascal@13212 | 44 cp -a $install/usr/share/applications $fs/usr/share |
pascal@13212 | 45 cp -a $install/usr/share/fonts $fs/usr/share |
slaxemulator@6560 | 46 } |
slaxemulator@6560 | 47 |