wok-next view cinepaint/receipt @ rev 19731

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