wok-current diff xpaint/receipt @ rev 16478
Up xpaint + libXaw3dXft and add to ARM (would be nice to have a small paint tool in next R-Pi release
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 01:56:24 2014 +0200 (2014-04-23) |
parents | e05a30fbddf6 |
children | f2cae20278f1 |
line diff
1.1 --- a/xpaint/receipt Mon Dec 09 17:29:30 2013 +0000 1.2 +++ b/xpaint/receipt Wed Apr 23 01:56:24 2014 +0200 1.3 @@ -1,23 +1,29 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="xpaint" 1.7 -VERSION="2.9.9.1" 1.8 +VERSION="2.9.10.2" 1.9 CATEGORY="graphics" 1.10 SHORT_DESC="Simple paint program for X" 1.11 MAINTAINER="mojo@slitaz.org" 1.12 LICENSE="GPL3" 1.13 -WEB_SITE="http://sourceforge.net/projects/sf-xpaint/" 1.14 +WEB_SITE="http://sf-xpaint.sourceforge.net/" 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 WGET_URL="$SF_MIRROR/sf-$PACKAGE/$TARBALL" 1.17 +HOST_ARCH="i486 arm" 1.18 1.19 -DEPENDS="openjpeg libXaw3dXft" 1.20 +DEPENDS="openjpeg libXaw3dXft xorg-libXaw3d" 1.21 BUILD_DEPENDS="openjpeg-dev libXaw3dXft-dev libpng-dev jpeg-dev tiff-dev \ 1.22 -expat-dev libxml2-dev util-linux-uuid-dev" 1.23 +expat-dev libxml2-dev util-linux-uuid-dev xorg-libXaw3d-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - ./configure $CONFIGURE_ARGS && make -j 1 && make install 1.29 + [ "$ARCH" == "i486" ] && LIBTOOL=libtool 1.30 + ./configure $CONFIGURE_ARGS && 1.31 + # Fix cross compilation 1.32 + sed -i s'/$(CC) substads.c/gcc substads.c/' Makefile && 1.33 + sed -i s'/$(CC) preproc.c/gcc preproc.c/' Makefile && 1.34 + make -j 1 LIBTOOL=${HOST_SYSTEM}-libtool && make install 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg.