wok-6.x annotate mtpaint/receipt @ rev 13846
mtpaint: fix my silly typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 09 00:05:17 2013 +0000 (2013-01-09) |
parents | 8666107f2678 |
children | 8437ad3ae814 |
rev | line source |
---|---|
pankso@42 | 1 # SliTaz package receipt. |
pankso@42 | 2 |
pankso@42 | 3 PACKAGE="mtpaint" |
samuel_trassare@11766 | 4 VERSION="3.40" |
pankso@207 | 5 CATEGORY="graphics" |
pankso@42 | 6 SHORT_DESC="Light paint programm and image manipulation." |
pankso@42 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@42 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@42 | 9 WEB_SITE="http://mtpaint.sourceforge.net/" |
pankso@42 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@42 | 11 |
pankso@12120 | 12 DEPENDS="gtk+ libpng lcms" |
pankso@12120 | 13 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev" |
pankso@12120 | 14 |
pankso@42 | 15 # Rules to configure and make the package. |
pankso@42 | 16 compile_rules() |
pankso@42 | 17 { |
pankso@12120 | 18 cp -a $stuff/icons/*.xpm $src/src/icons1 |
pankso@42 | 19 cd $src |
pankso@4324 | 20 ./configure \ |
pankso@4324 | 21 --cpu=i486 \ |
pankso@4324 | 22 --prefix=/usr \ |
pankso@4324 | 23 intl nogif && |
pankso@42 | 24 make |
al@13844 | 25 # install mo files to the right place |
al@13844 | 26 for i in $(find $src/po/*.mo); do |
al@13844 | 27 LNG=$(basename $i .mo) |
al@13844 | 28 LFOLDER=$install/usr/share/locale/$LNG/LC_MESSAGES |
al@13844 | 29 mkdir -p $LFOLDER |
al@13846 | 30 cp -a $src/po/$LNG.mo $LFOLDER/mtpaint.mo |
al@13844 | 31 done |
pankso@42 | 32 } |
pankso@42 | 33 |
pankso@42 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 35 genpkg_rules() |
pankso@42 | 36 { |
pankso@2296 | 37 mkdir -p $fs/usr/bin |
pankso@42 | 38 cp -a $src/src/mtpaint $fs/usr/bin |
pankso@42 | 39 } |