wok-next view xpaint/receipt @ rev 20577
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 03:34:33 2018 +0300 (2018-04-14) |
parents | 1956d76c53b4 |
children | 342b30daff76 |
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"
16 SPLIT="xpaint-dev"
18 compile_rules() {
19 ./configure $CONFIGURE_ARGS && make -j1 && make install || return 1
21 mkdir -p $install/usr/share/pixmaps
22 ln -s ../xpaint/XPaintIcon.xpm $install/usr/share/pixmaps/xpaint.xpm
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 xpaint)
28 copy @std
29 DEPENDS="bzlib fontconfig freetype glib libXaw3dXft libharfbuzz \
30 libjpeg-turbo liblzma libpng16 libxml2 pcre tiff util-linux-uuid \
31 xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
32 xorg-libXext xorg-libXft xorg-libXmu xorg-libXpm xorg-libXrender \
33 xorg-libXt xorg-libxcb zlib"
34 ;;
35 *-dev)
36 copy @dev
37 DEPENDS="xpaint bzip2-dev fontconfig-dev freetype-dev glib-dev \
38 harfbuzz-dev libjpeg-turbo-dev libXaw3dXft-dev libpng16-dev \
39 libxml2-dev pcre-dev tiff-dev util-linux-uuid-dev xorg-libICE-dev \
40 xorg-libSM-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
41 xorg-libXext-dev xorg-libXft-dev xorg-libXmu-dev xorg-libXpm-dev \
42 xorg-libXrender-dev xorg-libXt-dev xorg-libxcb-dev xz-dev zlib-dev"
43 ;;
44 esac
45 }