wok-6.x diff cinepaint/receipt @ rev 8638
Up: fltk-2.0.x to r7725.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 15 03:33:42 2011 +0000 (2011-02-15) |
parents | |
children | c15ece372753 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cinepaint/receipt Tue Feb 15 03:33:42 2011 +0000 1.3 @@ -0,0 +1,50 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cinepaint" 1.7 +VERSION="0.22-1" 1.8 +CATEGORY="graphics" 1.9 +SHORT_DESC="For painting and retouching bitmap frames of films." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm zlib mesa jbigkit" 1.12 +BUILD_DEPENDS="$DEPENDS gtk+-dev lcms-dev tiff-dev jpeg-dev fltk-dev ftgl-dev xorg-libXmu-dev xorg-libXpm-dev python zlib-dev coreutils-file-summarize coreutils-file-special gettext mesa-dev xorg-xextproto util-linux-ng-uuid-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://www.cinepaint.org" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + patch -Np1 -i ../stuff/cinepaint-0.22.1-gcc43.patch 1.22 + patch -Np1 -i ../stuff/cinepaint-0.22-gcc44.patch 1.23 + patch -Np1 -i ../stuff/cinepaint-0.22.1-multiple_parameters_named.patch 1.24 + patch -Np0 -i ../stuff/cinepaint-0.22.1-ambiguousawake.patch 1.25 +find plug-ins/print -type f -exec \ 1.26 + sed -i "s:gutenprintui/gutenprintui:gutenprintui2/gutenprintui:" {} \; 1.27 + # Fix insecure rpath 1.28 + sed '/-rpath/d' -i plug-ins/icc_examin/icc_examin/configure 1.29 + ./configure \ 1.30 + --prefix=/usr \ 1.31 + --infodir=/usr/share/info \ 1.32 + --mandir=/usr/share/man \ 1.33 + --enable-gtk2 \ 1.34 + --disable-print \ 1.35 + $CONFIGURE_ARGS && 1.36 + make && make DESTDIR=$PWD/_pkg install 1.37 +} 1.38 + 1.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 +genpkg_rules() 1.41 +{ 1.42 + mkdir -p $fs/usr/share $fs/usr/lib 1.43 + cp -a $_pkg/usr/bin $fs/usr 1.44 + cp -a $_pkg/usr/lib/cinepaint $fs/usr/lib 1.45 + strip -s $fs/usr/lib/cinepaint/$VERSION/extra/* 1.46 + strip -s $fs/usr/lib/cinepaint/$VERSION/plug-ins/* 1.47 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.48 + cp -a $_pkg/usr/share/cinepaint $fs/usr/share 1.49 + cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.50 + cp -a $_pkg/usr/share/applications $fs/usr/share 1.51 + cp -a $_pkg/usr/share/fonts $fs/usr/share 1.52 +} 1.53 +