wok-next view xpaint/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 087b00d7ff4b |
children | 5669e8b3be70 |
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="xorg-libX11-dev xorg-libXft-dev freetype-dev libXaw3dXft-dev \
15 libjpeg-turbo-dev tiff-dev libtool xorg-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 libpng16 tiff \
32 xorg-libX11 xorg-libXext xorg-libXft xorg-libXmu xorg-libXpm \
33 xorg-libXt"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }