wok-6.x annotate mygestures/receipt @ rev 24145
ventoy: set arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 17 10:14:59 2021 +0000 (2021-11-17) |
parents | de919cec0690 |
children | afae00265386 |
rev | line source |
---|---|
pankso@16420 | 1 # SliTaz package receipt. |
pankso@16420 | 2 |
pankso@16420 | 3 PACKAGE="mygestures" |
Hans-G?nter@21504 | 4 VERSION="2.0" |
pankso@16420 | 5 CATEGORY="x-window" |
al@17387 | 6 SHORT_DESC="Recognizing gestures made with your mouse and perform actions." |
pankso@16420 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16420 | 8 LICENSE="GPL2" |
pascal@20421 | 9 WEB_SITE="https://sourceforge.net/projects/mygestures/" |
Hans-G?nter@21504 | 10 |
Hans-G?nter@21504 | 11 TARBALL="${PACKAGE}_$VERSION.tar.xz" |
pankso@16420 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@21504 | 13 |
Hans-G?nter@21504 | 14 DEPENDS="jansson xorg-libX11 xorg-libXtst" |
Hans-G?nter@21504 | 15 BUILD_DEPENDS="gcc83 jansson-dev xorg-libX11-dev xorg-libXtst" |
Hans-G?nter@21504 | 16 |
pankso@16420 | 17 HOST_ARCH="i486 arm" |
pankso@16420 | 18 |
pankso@16420 | 19 # Rules to configure and make the package. |
pankso@16420 | 20 compile_rules() |
pankso@16420 | 21 { |
Hans-G?nter@21505 | 22 export CC=gcc-83 |
Hans-G?nter@21505 | 23 export CXX=g++-83 |
Hans-G?nter@21505 | 24 |
Hans-G?nter@21504 | 25 ./configure \ |
Hans-G?nter@21504 | 26 --sysconfdir=/etc/$PACKAGE \ |
pankso@16420 | 27 $CONFIGURE_ARGS && |
Hans-G?nter@21504 | 28 make && |
Hans-G?nter@21504 | 29 make install |
pankso@16420 | 30 } |
pankso@16420 | 31 |
pankso@16420 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16420 | 33 genpkg_rules() |
pankso@16420 | 34 { |
pankso@16420 | 35 mkdir -p $fs/usr |
Hans-G?nter@21504 | 36 |
Hans-G?nter@21504 | 37 cp -a $install/etc $fs |
Hans-G?nter@21504 | 38 cp -a $install/usr/bin $fs/usr |
pankso@16420 | 39 } |