wok annotate 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
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@14999 8 LICENSE="GPL3"
pascal@13915 9 WEB_SITE="http://sourceforge.net/projects/sf-xpaint/"
pascal@13915 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13915 11 WGET_URL="$SF_MIRROR/sf-$PACKAGE/$TARBALL"
pascal@13915 12
pascal@13916 13 DEPENDS="openjpeg libXaw3dXft"
pascal@13917 14 BUILD_DEPENDS="openjpeg-dev libXaw3dXft-dev libpng-dev jpeg-dev tiff-dev \
pascal@13917 15 expat-dev"
pascal@13915 16
pascal@13915 17 # Rules to configure and make the package.
pascal@13915 18 compile_rules()
pascal@13915 19 {
pascal@13915 20 ./configure $CONFIGURE_ARGS && make && make install
pascal@13915 21 }
pascal@13915 22
pascal@13915 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13915 24 genpkg_rules()
pascal@13915 25 {
pascal@13915 26 cp -a $install/* $fs
pascal@13915 27 rm -r $fs/usr/share/xpaint/include
pascal@13915 28 mkdir -p $fs/usr/lib
pascal@13915 29 mkdir -p $fs/usr/share/pixmaps
pascal@13915 30 cp $stuff/xpaint.xpm $fs/usr/share/pixmaps
pascal@13915 31 }