wok-4.x diff mtpaint/receipt @ rev 42
Add : isomaster, leafpad, mtpaint with modified icons
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 14:14:52 2007 +0100 (2007-12-18) |
parents | |
children | efc4bde14c2d |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mtpaint/receipt Tue Dec 18 14:14:52 2007 +0100 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mtpaint" 1.7 +VERSION="3.11" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="Light paint programm and image manipulation." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 +WEB_SITE="http://mtpaint.sourceforge.net/" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +# 1.18 +# SliTaz use Tango icons, so we convert some for mtPaint. 1.19 +# 1.20 +compile_rules() 1.21 +{ 1.22 + cp -a stuff/icons-tango $src/src 1.23 + cd $src 1.24 + ./configure --cpu=i486 --prefix=/usr intl icons-tango 1.25 + make 1.26 + strip src/mtpaint 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/bin $fs/usr/share/locale/fr/LC_MESSAGES \ 1.33 + $fs/usr/share/pixmaps 1.34 + cp -a $src/src/mtpaint $fs/usr/bin 1.35 + cp -a $src/po/fr.mo $fs/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo 1.36 + cp -a $src/src/icons1/icon.xpm $fs/usr/share/pixmaps/mtpaint.xpm 1.37 +}