wok-6.x annotate cinepaint/receipt @ rev 11569
cinepaint: fix build
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 02 23:06:18 2012 +0100 (2012-01-02) |
parents | 9022c9580faa |
children | 73641efed1cc |
rev | line source |
---|---|
slaxemulator@6560 | 1 # SliTaz package receipt. |
slaxemulator@6560 | 2 |
slaxemulator@6560 | 3 PACKAGE="cinepaint" |
slaxemulator@6560 | 4 VERSION="0.22-1" |
slaxemulator@6560 | 5 CATEGORY="graphics" |
slaxemulator@6560 | 6 SHORT_DESC="For painting and retouching bitmap frames of films." |
slaxemulator@6560 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@6560 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@6560 | 9 WEB_SITE="http://www.cinepaint.org" |
slaxemulator@6560 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@6560 | 11 |
gokhlayeh@11569 | 12 DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm \ |
gokhlayeh@11569 | 13 gutenprint zlib mesa jbigkit openexr" |
erjo@9944 | 14 BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \ |
erjo@9944 | 15 xorg-xextproto util-linux-ng-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \ |
erjo@9944 | 16 ilmbase-dev " |
erjo@9944 | 17 |
slaxemulator@6560 | 18 # Rules to configure and make the package. |
slaxemulator@6560 | 19 compile_rules() |
slaxemulator@6560 | 20 { |
slaxemulator@6560 | 21 cd $src |
pankso@9699 | 22 patch -Np1 -i $stuff/cinepaint-0.22.1-gcc43.patch |
pankso@9699 | 23 patch -Np1 -i $stuff/cinepaint-0.22-gcc44.patch |
pankso@9699 | 24 patch -Np1 -i $stuff/cinepaint-0.22.1-multiple_parameters_named.patch |
pankso@9699 | 25 patch -Np0 -i $stuff/cinepaint-0.22.1-ambiguousawake.patch |
slaxemulator@6560 | 26 find plug-ins/print -type f -exec \ |
slaxemulator@6560 | 27 sed -i "s:gutenprintui/gutenprintui:gutenprintui2/gutenprintui:" {} \; |
pascal@11539 | 28 grep -rl Fl/Fl * | xargs sed -i 's|Fl/Fl|FL/Fl|' |
slaxemulator@6560 | 29 # Fix insecure rpath |
slaxemulator@6560 | 30 sed '/-rpath/d' -i plug-ins/icc_examin/icc_examin/configure |
slaxemulator@6560 | 31 ./configure \ |
slaxemulator@6560 | 32 --prefix=/usr \ |
slaxemulator@6560 | 33 --enable-gtk2 \ |
slaxemulator@6560 | 34 --disable-print \ |
slaxemulator@6560 | 35 $CONFIGURE_ARGS && |
erjo@9944 | 36 make && make DESTDIR=$DESTDIR install |
slaxemulator@6560 | 37 } |
slaxemulator@6560 | 38 |
slaxemulator@6560 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6560 | 40 genpkg_rules() |
slaxemulator@6560 | 41 { |
slaxemulator@6560 | 42 mkdir -p $fs/usr/share $fs/usr/lib |
slaxemulator@6560 | 43 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@6560 | 44 cp -a $_pkg/usr/lib/cinepaint $fs/usr/lib |
slaxemulator@6560 | 45 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6560 | 46 cp -a $_pkg/usr/share/cinepaint $fs/usr/share |
slaxemulator@6560 | 47 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
slaxemulator@6560 | 48 cp -a $_pkg/usr/share/applications $fs/usr/share |
slaxemulator@6560 | 49 cp -a $_pkg/usr/share/fonts $fs/usr/share |
slaxemulator@6560 | 50 } |
slaxemulator@6560 | 51 |