wok-stable view cinepaint/receipt @ rev 9567
Up: mc to 4.7.5.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 11 23:00:12 2011 +0000 (2011-04-11) |
parents | c15ece372753 |
children | cbfb348cb173 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cinepaint"
4 VERSION="0.22-1"
5 CATEGORY="graphics"
6 SHORT_DESC="For painting and retouching bitmap frames of films."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm zlib mesa jbigkit openexr"
9 BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext xorg-xextproto util-linux-ng-uuid-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.cinepaint.org"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -Np1 -i ../stuff/cinepaint-0.22.1-gcc43.patch
19 patch -Np1 -i ../stuff/cinepaint-0.22-gcc44.patch
20 patch -Np1 -i ../stuff/cinepaint-0.22.1-multiple_parameters_named.patch
21 patch -Np0 -i ../stuff/cinepaint-0.22.1-ambiguousawake.patch
22 find plug-ins/print -type f -exec \
23 sed -i "s:gutenprintui/gutenprintui:gutenprintui2/gutenprintui:" {} \;
24 # Fix insecure rpath
25 sed '/-rpath/d' -i plug-ins/icc_examin/icc_examin/configure
26 ./configure \
27 --prefix=/usr \
28 --infodir=/usr/share/info \
29 --mandir=/usr/share/man \
30 --enable-gtk2 \
31 --disable-print \
32 $CONFIGURE_ARGS &&
33 make && make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share $fs/usr/lib
40 cp -a $_pkg/usr/bin $fs/usr
41 cp -a $_pkg/usr/lib/cinepaint $fs/usr/lib
42 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
43 cp -a $_pkg/usr/share/cinepaint $fs/usr/share
44 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
45 cp -a $_pkg/usr/share/applications $fs/usr/share
46 cp -a $_pkg/usr/share/fonts $fs/usr/share
47 }