wok annotate xpaint/receipt @ rev 16873

Update gdk-pixbuf wget_url
author Yuri Pourre <yuripourre@gmail.com>
date Sun Jul 13 13:00:45 2014 -0300 (2014-07-13)
parents 82b741ae28f0
children 44a17a1f5aaf
rev   line source
pascal@13915 1 # SliTaz package receipt.
pascal@13915 2
pascal@13915 3 PACKAGE="xpaint"
pankso@16478 4 VERSION="2.9.10.2"
pascal@13915 5 CATEGORY="graphics"
pascal@13915 6 SHORT_DESC="Simple paint program for X"
pascal@13915 7 MAINTAINER="mojo@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pankso@16478 9 WEB_SITE="http://sf-xpaint.sourceforge.net/"
pascal@13915 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13915 11 WGET_URL="$SF_MIRROR/sf-$PACKAGE/$TARBALL"
pankso@16478 12 HOST_ARCH="i486 arm"
pascal@13915 13
pankso@16484 14 DEPENDS="openjpeg libXaw3dXft"
pankso@16484 15 BUILD_DEPENDS="openjpeg-dev libXaw3dXft-dev libpng-dev jpeg-dev \
pascal@16633 16 expat-dev libxml2-dev util-linux-uuid-dev tiff-dev libtool"
pascal@13915 17
pascal@13915 18 # Rules to configure and make the package.
pascal@13915 19 compile_rules()
pascal@13915 20 {
pankso@16479 21 case "$ARCH" in
pankso@16480 22 i?86) LIBTOOL=libtool ;;
pankso@16479 23 arm) LIBTOOL=${HOST_SYSTEM}-libtool ;;
pankso@16479 24 esac
pascal@16633 25 ./configure --enable-tiff=no $CONFIGURE_ARGS &&
pankso@16478 26 # Fix cross compilation
pankso@16478 27 sed -i s'/$(CC) substads.c/gcc substads.c/' Makefile &&
pankso@16478 28 sed -i s'/$(CC) preproc.c/gcc preproc.c/' Makefile &&
pankso@16479 29 make -j 1 LIBTOOL=${LIBTOOL} && make install
pascal@13915 30 }
pascal@13915 31
pascal@13915 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13915 33 genpkg_rules()
pascal@13915 34 {
pankso@16482 35 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
pankso@16482 36 cp -a $install/usr/bin $fs/usr
pankso@16482 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16482 38 cp -a $install/usr/share/xpaint $fs/usr/share
pankso@16482 39 rm -r $fs/usr/share/xpaint/include
pankso@16482 40 rm -r $fs/usr/share/xpaint/c-scripts
pankso@16481 41 cp $stuff/xpaint.xpm $fs/usr/share/pixmaps
pascal@13915 42 }