wok view xpaint/receipt @ rev 14999

Add GPL3 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 13:52:56 2013 +0000 (2013-08-10)
parents 6fa1191ecbc9
children ba27647b4b2f
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 LICENSE="GPL3"
9 WEB_SITE="http://sourceforge.net/projects/sf-xpaint/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/sf-$PACKAGE/$TARBALL"
13 DEPENDS="openjpeg libXaw3dXft"
14 BUILD_DEPENDS="openjpeg-dev libXaw3dXft-dev libpng-dev jpeg-dev tiff-dev \
15 expat-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS && make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs
27 rm -r $fs/usr/share/xpaint/include
28 mkdir -p $fs/usr/lib
29 mkdir -p $fs/usr/share/pixmaps
30 cp $stuff/xpaint.xpm $fs/usr/share/pixmaps
31 }