wok annotate mtpaint/receipt @ rev 18453

perl-datetime: more deps
author Nathan Neulinger <nneul@neulinger.org>
date Sun Sep 27 21:47:52 2015 +0000 (2015-09-27)
parents f6642d800b04
children 9db5705d64a7
rev   line source
pankso@42 1 # SliTaz package receipt.
pankso@42 2
pankso@42 3 PACKAGE="mtpaint"
al@17948 4 VERSION="3.44.91"
al@17948 5 COMMIT="15ec7b65d09bff5372253f9568d06ea97487f9dc"
pankso@207 6 CATEGORY="graphics"
al@17948 7 SHORT_DESC="Painting program to create pixel art and manipulate digital photos"
pankso@42 8 MAINTAINER="pankso@slitaz.org"
pascal@14999 9 LICENSE="GPL3"
al@17948 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@42 11 WEB_SITE="http://mtpaint.sourceforge.net/"
al@17948 12 #WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
al@17948 13 WGET_URL="https://github.com/wjaguar/mtPaint/archive/$COMMIT.tar.gz"
pankso@16334 14 #HOST_ARCH="i486 arm"
pankso@42 15
pankso@12120 16 DEPENDS="gtk+ libpng lcms"
al@17948 17 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev zlib-dev"
pankso@12120 18
pankso@42 19 # Rules to configure and make the package.
pankso@42 20 compile_rules()
pankso@42 21 {
al@17979 22 patch -p0 < $stuff/mtpaint.patch
pankso@16334 23 case "$ARCH" in
pankso@16334 24 i?86)
pankso@16334 25 ./configure \
pankso@16334 26 --cpu=$ARCH \
pankso@16334 27 --prefix=/usr \
psychomaniak@18394 28 intl nogif nojp2 ;;
pankso@16334 29 arm*)
pankso@16334 30 # we need: arm-slitaz-linux-gnueabi-pkg-config
pankso@16334 31 ./configure \
pankso@16334 32 --prefix=/usr \
pankso@16334 33 --host=${HOST_SYSTEM} \
pankso@16334 34 intl nogif
al@17948 35 esac && make &&
al@17948 36 make DESTDIR=$install install
pankso@42 37 }
pankso@42 38
pankso@42 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@42 40 genpkg_rules()
pankso@42 41 {
al@17979 42 mkdir -p $fs/usr/share/applications $fs/usr/share/pixmaps $fs/etc/mtpaint
al@17948 43 cp -a $install/usr/bin $fs/usr
al@17979 44 install -m755 -oroot -groot $stuff/mtpaint-doc $fs/usr/bin
al@17948 45 cp $stuff/*.desktop $fs/usr/share/applications
al@17979 46 cp $src/doc/mtpaint.png $fs/usr/share/pixmaps
al@17979 47 cp $stuff/mtpaintrc $fs/etc/mtpaint
pankso@42 48 }