wok-next annotate mtpaint/receipt @ rev 16272
Up: wine, wine-rt (1.7.16). Fix: wine needs prelink at build-time
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Apr 05 20:56:22 2014 +0000 (2014-04-05) |
parents | 8437ad3ae814 |
children | fd7c7b825eb9 |
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" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@42 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@42 | 10 WEB_SITE="http://mtpaint.sourceforge.net/" |
pankso@42 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@42 | 12 |
pankso@12120 | 13 DEPENDS="gtk+ libpng lcms" |
pankso@12120 | 14 BUILD_DEPENDS="gtk+-dev libpng-dev lcms-dev" |
pankso@12120 | 15 |
pankso@42 | 16 # Rules to configure and make the package. |
pankso@42 | 17 compile_rules() |
pankso@42 | 18 { |
pankso@12120 | 19 cp -a $stuff/icons/*.xpm $src/src/icons1 |
pankso@42 | 20 cd $src |
pankso@4324 | 21 ./configure \ |
pascal@13878 | 22 --cpu=$ARCH \ |
pankso@4324 | 23 --prefix=/usr \ |
pankso@4324 | 24 intl nogif && |
pankso@42 | 25 make |
al@13844 | 26 # install mo files to the right place |
al@13844 | 27 for i in $(find $src/po/*.mo); do |
al@13844 | 28 LNG=$(basename $i .mo) |
al@13844 | 29 LFOLDER=$install/usr/share/locale/$LNG/LC_MESSAGES |
al@13844 | 30 mkdir -p $LFOLDER |
al@13846 | 31 cp -a $src/po/$LNG.mo $LFOLDER/mtpaint.mo |
al@13844 | 32 done |
pankso@42 | 33 } |
pankso@42 | 34 |
pankso@42 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@42 | 36 genpkg_rules() |
pankso@42 | 37 { |
pankso@2296 | 38 mkdir -p $fs/usr/bin |
pankso@42 | 39 cp -a $src/src/mtpaint $fs/usr/bin |
pankso@42 | 40 } |