wok annotate xpaint/receipt @ rev 21504
updated mygestures (0.7 -> 2.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu May 02 16:26:43 2019 +0100 (2019-05-02) |
parents | 44a17a1f5aaf |
children | fc48947e1c50 |
rev | line source |
---|---|
pascal@13915 | 1 # SliTaz package receipt. |
pascal@13915 | 2 |
pascal@13915 | 3 PACKAGE="xpaint" |
pascal@21130 | 4 VERSION="2.9.10.3" |
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@16481 | 40 cp $stuff/xpaint.xpm $fs/usr/share/pixmaps |
pascal@13915 | 41 } |