wok-next view cinepaint/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | ace91d9d5849 |
children | c0521c689857 |
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 libpng16-dev bash automake autoconf libtool \
18 python-dev libglu-mesa-dev libpng12-dev "
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sh ./autogen.sh
24 ./configure \
25 --prefix=/usr \
26 --enable-gtk2 \
27 --disable-print \
28 $CONFIGURE_ARGS 2>&1 | grep -v 'ls: argyll-0.60:' &&
29 {
30 make && make DESTDIR=$DESTDIR install
31 } 2>&1 | grep -v "rename 'pygimp/..html':"
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/cinepaint $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/share/cinepaint $fs/usr/share
42 cp -a $install/usr/share/pixmaps $fs/usr/share
43 cp -a $install/usr/share/applications $fs/usr/share
44 cp -a $install/usr/share/fonts $fs/usr/share
45 }