wok-next view xpaint/receipt @ rev 20074
Up dooble, smtube
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Oct 25 05:01:33 2017 +0200 (2017-10-25) |
parents | 811d1b741af3 |
children | c4e53a39395a |
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/sf-xpaint/$TARBALL"
15 BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev freetype-dev libXaw3dXft-dev \
16 libjpeg-turbo-dev tiff-dev libtool"
17 SPLIT="xpaint-dev"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS && make -j1 && make install || return 1
22 mkdir -p $install/usr/share/pixmaps
23 ln -s ../xpaint/XPaintIcon.xpm $install/usr/share/pixmaps/xpaint.xpm
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 xpaint)
29 copy @std
30 DEPENDS="bzlib fontconfig freetype glib libXaw3dXft libharfbuzz \
31 libjpeg-turbo liblzma libpng16 libxml2 pcre tiff util-linux-uuid \
32 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
33 xorg-libXext xorg-libXft xorg-libXmu xorg-libXpm xorg-libXrender \
34 xorg-libXt xorg-libxcb zlib"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="xpaint bzip2-dev fontconfig-dev freetype-dev glib-dev \
39 harfbuzz-dev libjpeg-turbo-dev libXaw3dXft-dev libpng16-dev \
40 libxml2-dev pcre-dev tiff-dev util-linux-uuid-dev xorg-libICE-dev \
41 xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
42 xorg-libXext-dev xorg-libXft-dev xorg-libXmu-dev xorg-libXpm-dev \
43 xorg-libXrender-dev xorg-libXt-dev xorg-libxcb-dev xz-dev zlib-dev"
44 ;;
45 esac
46 }