wok-6.x annotate mtpaint/receipt @ rev 17948

mtpaint: up (3.44.91), remove XPM icons substitutions (using original icons).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 16 02:24:03 2015 +0300 (2015-04-16)
parents fd7c7b825eb9
children f6642d800b04
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 {
pankso@16334 22 case "$ARCH" in
pankso@16334 23 i?86)
pankso@16334 24 ./configure \
pankso@16334 25 --cpu=$ARCH \
pankso@16334 26 --prefix=/usr \
pankso@16334 27 intl nogif ;;
pankso@16334 28 arm*)
pankso@16334 29 # we need: arm-slitaz-linux-gnueabi-pkg-config
pankso@16334 30 ./configure \
pankso@16334 31 --prefix=/usr \
pankso@16334 32 --host=${HOST_SYSTEM} \
pankso@16334 33 intl nogif
al@17948 34 esac && make &&
al@17948 35 make DESTDIR=$install install
pankso@42 36 }
pankso@42 37
pankso@42 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@42 39 genpkg_rules()
pankso@42 40 {
al@17948 41 mkdir -p $fs/usr/share/applications
al@17948 42 cp -a $install/usr/bin $fs/usr
al@17948 43 cp $stuff/*.desktop $fs/usr/share/applications
pankso@42 44 }