wok view cinepaint/receipt @ rev 15146

cocoalib: create Makefile_dependencies (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 15 12:56:59 2013 +0000 (2013-08-15)
parents 5c15aaeb6c78
children 04b42e0fdee7
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 &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/cinepaint $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/share/cinepaint $fs/usr/share
41 cp -a $install/usr/share/pixmaps $fs/usr/share
42 cp -a $install/usr/share/applications $fs/usr/share
43 cp -a $install/usr/share/fonts $fs/usr/share
44 }