wok-next view cinepaint/receipt @ rev 9417

Up: vim, vim-tiny and gvim to 7.3, fixed vimrc path, linked libraries and build depends
author Manuel Flores Vivas <manuelfloresv@gmail.com>
date Wed Mar 30 01:13:57 2011 +0000 (2011-03-30)
parents 0df973628fc3
children e5ae411e1d8c
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 strip -s $fs/usr/lib/cinepaint/$VERSION/extra/*
43 strip -s $fs/usr/lib/cinepaint/$VERSION/plug-ins/*
44 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
45 cp -a $_pkg/usr/share/cinepaint $fs/usr/share
46 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
47 cp -a $_pkg/usr/share/applications $fs/usr/share
48 cp -a $_pkg/usr/share/fonts $fs/usr/share
49 }