wok-current annotate xpaint/receipt @ rev 16445

slitaz-tools: fix again the receipt
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 18:48:33 2014 +0200 (2014-04-18)
parents 860ce5da84ab
children 1170c748b1ab
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@15635 15 expat-dev libxml2-dev util-linux-uuid-dev"
pascal@13915 16
pascal@13915 17 # Rules to configure and make the package.
pascal@13915 18 compile_rules()
pascal@13915 19 {
pascal@15636 20 ./configure $CONFIGURE_ARGS && make -j 1 && 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 }