wok-next view xpaint/receipt @ rev 21596
updated dos2unix (7.4.0 -> 7.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 14:10:06 2020 +0100 (2020-06-24) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xpaint"
4 VERSION="2.10.1"
5 CATEGORY="graphics"
6 SHORT_DESC="Simple paint program for X"
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://sf-xpaint.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/sf-xpaint/$TARBALL"
14 BUILD_DEPENDS="libx11-dev libxft-dev freetype-dev libXaw3dXft-dev \
15 libjpeg-turbo-dev tiff-dev libtool libxpm-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS &&
20 make -j1 &&
21 make install || return 1
23 mkdir -p $install/usr/share/pixmaps
24 ln -s ../xpaint/XPaintIcon.xpm $install/usr/share/pixmaps/xpaint.xpm
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 xpaint)
30 copy @std
31 DEPENDS="fontconfig libXaw3dXft libjpeg-turbo libpng libtiff \
32 libx11 libxext libxft libxmu libxpm \
33 libxt"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }