wok diff xpaint/receipt @ rev 23744
updated xcircuit (3.10.12 -> 3.10.24)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 01 13:47:01 2020 +0100 (2020-05-01) |
parents | 5c397f0326be |
children | ad86373a4a8c |
line diff
1.1 --- a/xpaint/receipt Thu Mar 21 11:55:21 2019 +0100 1.2 +++ b/xpaint/receipt Fri May 01 13:47:01 2020 +0100 1.3 @@ -1,20 +1,22 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="xpaint" 1.7 -VERSION="2.9.10.3" 1.8 +VERSION="2.10.2" 1.9 CATEGORY="graphics" 1.10 -SHORT_DESC="Simple paint program for X" 1.11 +SHORT_DESC="Simple paint program for X." 1.12 MAINTAINER="mojo@slitaz.org" 1.13 LICENSE="GPL3" 1.14 WEB_SITE="http://sf-xpaint.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.17 -WGET_URL="$SF_MIRROR/sf-$PACKAGE/$TARBALL" 1.18 +WGET_URL="$SF_MIRROR/sf-$PACKAGE/files/$TARBALL" 1.19 + 1.20 +DEPENDS="libXaw3dXft openjpeg" 1.21 +BUILD_DEPENDS="expat-dev jpeg-dev libpng-dev libtool libXaw3dXft-dev 1.22 + libxml2-dev openjpeg-dev tiff-dev util-linux-uuid-dev" 1.23 + 1.24 HOST_ARCH="i486 arm" 1.25 1.26 -DEPENDS="openjpeg libXaw3dXft" 1.27 -BUILD_DEPENDS="openjpeg-dev libXaw3dXft-dev libpng-dev jpeg-dev \ 1.28 -expat-dev libxml2-dev util-linux-uuid-dev tiff-dev libtool" 1.29 - 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 @@ -22,20 +24,32 @@ 1.34 i?86) LIBTOOL=libtool ;; 1.35 arm) LIBTOOL=${HOST_SYSTEM}-libtool ;; 1.36 esac 1.37 - ./configure --enable-tiff=no $CONFIGURE_ARGS && 1.38 + 1.39 + ./configure \ 1.40 + --enable-tiff=no \ 1.41 + $CONFIGURE_ARGS && 1.42 + 1.43 # Fix cross compilation 1.44 - sed -i s'/$(CC) substads.c/gcc substads.c/' Makefile && 1.45 - sed -i s'/$(CC) preproc.c/gcc preproc.c/' Makefile && 1.46 - make -j 1 LIBTOOL=${LIBTOOL} && make install 1.47 + sed -i s'/$(CC) substads.c/gcc substads.c/' \ 1.48 + Makefile && 1.49 + sed -i s'/$(CC) preproc.c/gcc preproc.c/' \ 1.50 + Makefile && 1.51 + 1.52 + make -j 1 LIBTOOL=${LIBTOOL} && 1.53 + make install 1.54 } 1.55 1.56 # Rules to gen a SliTaz package suitable for Tazpkg. 1.57 genpkg_rules() 1.58 { 1.59 - mkdir -p $fs/usr/lib $fs/usr/share/pixmaps 1.60 - cp -a $install/usr/bin $fs/usr 1.61 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.62 - cp -a $install/usr/share/xpaint $fs/usr/share 1.63 + mkdir -p $fs/usr/lib 1.64 + mkdir -p $fs/usr/share/pixmaps 1.65 + 1.66 + cp -a $install/usr/bin $fs/usr 1.67 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.68 + cp -a $install/usr/share/xpaint $fs/usr/share 1.69 + 1.70 rm -r $fs/usr/share/xpaint/include 1.71 - cp $stuff/xpaint.xpm $fs/usr/share/pixmaps 1.72 + 1.73 + cp $stuff/xpaint.xpm $fs/usr/share/pixmaps 1.74 }