wok-6.x view xpaint/receipt @ rev 23562

updated python-six (1.10.0 -> 1.14.0)
author Hans-G?nter Theisgen
date Tue Apr 07 07:56:52 2020 +0100 (2020-04-07)
parents 5c397f0326be
children ad86373a4a8c
line source
1 # SliTaz package receipt.
3 PACKAGE="xpaint"
4 VERSION="2.10.2"
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-$PACKAGE/files/$TARBALL"
14 DEPENDS="libXaw3dXft openjpeg"
15 BUILD_DEPENDS="expat-dev jpeg-dev libpng-dev libtool libXaw3dXft-dev
16 libxml2-dev openjpeg-dev tiff-dev util-linux-uuid-dev"
18 HOST_ARCH="i486 arm"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 case "$ARCH" in
24 i?86) LIBTOOL=libtool ;;
25 arm) LIBTOOL=${HOST_SYSTEM}-libtool ;;
26 esac
28 ./configure \
29 --enable-tiff=no \
30 $CONFIGURE_ARGS &&
32 # Fix cross compilation
33 sed -i s'/$(CC) substads.c/gcc substads.c/' \
34 Makefile &&
35 sed -i s'/$(CC) preproc.c/gcc preproc.c/' \
36 Makefile &&
38 make -j 1 LIBTOOL=${LIBTOOL} &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 mkdir -p $fs/usr/share/pixmaps
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 cp -a $install/usr/share/xpaint $fs/usr/share
52 rm -r $fs/usr/share/xpaint/include
54 cp $stuff/xpaint.xpm $fs/usr/share/pixmaps
55 }