wok annotate xpaint/receipt @ rev 13915

Add xpaint (thanks mojo)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 25 10:03:15 2013 +0100 (2013-01-25)
parents
children be2618d310ab
rev   line source
pascal@13915 1 # SliTaz package receipt.
pascal@13915 2
pascal@13915 3 PACKAGE="xpaint"
pascal@13915 4 VERSION="2.9.9.1"
pascal@13915 5 CATEGORY="graphics"
pascal@13915 6 SHORT_DESC="Simple paint program for X"
pascal@13915 7 MAINTAINER="mojo@slitaz.org"
pascal@13915 8 WEB_SITE="http://sourceforge.net/projects/sf-xpaint/"
pascal@13915 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13915 10 WGET_URL="$SF_MIRROR/sf-$PACKAGE/$TARBALL"
pascal@13915 11
pascal@13915 12 DEPENDS="openjpeg xorg-libXaw3d"
pascal@13915 13
pascal@13915 14
pascal@13915 15 # Rules to configure and make the package.
pascal@13915 16 compile_rules()
pascal@13915 17 {
pascal@13915 18 ./configure $CONFIGURE_ARGS && make && make install
pascal@13915 19 }
pascal@13915 20
pascal@13915 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13915 22 genpkg_rules()
pascal@13915 23 {
pascal@13915 24 cp -a $install/* $fs
pascal@13915 25 rm -r $fs/usr/share/xpaint/include
pascal@13915 26 mkdir -p $fs/usr/lib
pascal@13915 27 mkdir -p $fs/usr/share/pixmaps
pascal@13915 28 cp $stuff/xpaint.xpm $fs/usr/share/pixmaps
pascal@13915 29 }