wok-current view xpaint/receipt @ rev 14032

gocr: use pnm2png, not pnmtopng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 11:06:24 2013 +0100 (2013-02-18)
parents be2618d310ab
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="xpaint"
4 VERSION="2.9.9.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Simple paint program for X"
7 MAINTAINER="mojo@slitaz.org"
8 WEB_SITE="http://sourceforge.net/projects/sf-xpaint/"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="$SF_MIRROR/sf-$PACKAGE/$TARBALL"
12 DEPENDS="openjpeg libXaw3dXft"
13 BUILD_DEPENDS="openjpeg-dev libXaw3dXft-dev libpng-dev jpeg-dev tiff-dev \
14 expat-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS && make && make install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 cp -a $install/* $fs
26 rm -r $fs/usr/share/xpaint/include
27 mkdir -p $fs/usr/lib
28 mkdir -p $fs/usr/share/pixmaps
29 cp $stuff/xpaint.xpm $fs/usr/share/pixmaps
30 }