wok-6.x view cinepaint/receipt @ rev 14065

shaarli: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 20 12:48:01 2013 +0100 (2013-02-20)
parents fe6ca5cfd1ff
children 1040bd60b471
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 TARBALL="$PACKAGE-$VERSION.tgz"
9 WEB_SITE="http://www.cinepaint.org"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm \
13 gutenprint zlib mesa jbigkit openexr"
14 BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \
15 xorg-xextproto util-linux-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
16 ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev bash automake autoconf libtool \
17 python-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sh ./autogen.sh
24 ./configure \
25 --prefix=/usr \
26 --enable-gtk2 \
27 --disable-print \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/cinepaint $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/share/cinepaint $fs/usr/share
40 cp -a $install/usr/share/pixmaps $fs/usr/share
41 cp -a $install/usr/share/applications $fs/usr/share
42 cp -a $install/usr/share/fonts $fs/usr/share
43 }