wok-6.x view xpaint/receipt @ rev 15050
kino: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 18:52:35 2013 +0000 (2013-08-12) |
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 }