wok annotate cinepaint/receipt @ rev 24889

grub2: sed command corrected
author Hans-G?nter Theisgen
date Sat Apr 02 17:34:21 2022 +0100 (2022-04-02)
parents dcaa989c1de7
children 192db54e5c3d
rev   line source
slaxemulator@6560 1 # SliTaz package receipt.
slaxemulator@6560 2
slaxemulator@6560 3 PACKAGE="cinepaint"
pascal@13212 4 VERSION="1.3"
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"
pascal@15023 8 LICENSE="MIT GPL LGPL"
pascal@13212 9 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@21153 10 WEB_SITE="http://www.cinepaint.org/"
slaxemulator@6560 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6560 12
gokhlayeh@11569 13 DEPENDS="desktop-file-utils gtk+ lcms tiff jpeg fltk ftgl xorg-libXmu xorg-libXpm \
gokhlayeh@11569 14 gutenprint zlib mesa jbigkit openexr"
erjo@9944 15 BUILD_DEPENDS="python coreutils-file-summarize coreutils-file-special gettext \
pascal@13212 16 xorg-xextproto util-linux-uuid-dev lcms-dev openexr-dev fltk-dev mesa-dev \
pascal@13212 17 ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev bash automake autoconf libtool \
pascal@13212 18 python-dev"
erjo@9944 19
pascal@24082 20 current_version()
pascal@24082 21 {
pascal@24082 22 wget -O - https://sourceforge.net/projects/cinepaint/files/CinePaint/ 2>/dev/null | \
pascal@24082 23 sed '/CinePaint-/!d;/in32/d;s|.*CinePaint-\(.*\).src.*".*|\1|;q'
pascal@24082 24 }
pascal@24082 25
slaxemulator@6560 26 # Rules to configure and make the package.
slaxemulator@6560 27 compile_rules()
slaxemulator@6560 28 {
slaxemulator@6560 29 cd $src
pascal@13212 30 sh ./autogen.sh
slaxemulator@6560 31 ./configure \
slaxemulator@6560 32 --prefix=/usr \
slaxemulator@6560 33 --enable-gtk2 \
slaxemulator@6560 34 --disable-print \
pascal@15278 35 $CONFIGURE_ARGS 2>&1 | grep -v 'ls: argyll-0.60:' &&
pascal@15280 36 {
pascal@15280 37 make && make DESTDIR=$DESTDIR install
pascal@15280 38 } 2>&1 | grep -v "rename 'pygimp/..html':"
slaxemulator@6560 39 }
slaxemulator@6560 40
slaxemulator@6560 41 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6560 42 genpkg_rules()
slaxemulator@6560 43 {
slaxemulator@6560 44 mkdir -p $fs/usr/share $fs/usr/lib
pascal@13212 45 cp -a $install/usr/bin $fs/usr
pascal@13212 46 cp -a $install/usr/lib/cinepaint $fs/usr/lib
pascal@13212 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13212 48 cp -a $install/usr/share/cinepaint $fs/usr/share
pascal@13212 49 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@13212 50 cp -a $install/usr/share/applications $fs/usr/share
pascal@13212 51 cp -a $install/usr/share/fonts $fs/usr/share
slaxemulator@6560 52 }
slaxemulator@6560 53