wok rev 16420

Add jansson and mygestures for mouse-gesture on touchscreen
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 18 01:43:00 2014 +0200 (2014-04-18)
parents 3e994eb44069
children 9500b841a596
files jansson-dev/receipt jansson/receipt mygestures/receipt xautomation/receipt xstroke/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/jansson-dev/receipt	Fri Apr 18 01:43:00 2014 +0200
     1.3 @@ -0,0 +1,18 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="jansson-dev"
     1.7 +VERSION="2.6"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Jansson statis libs and include headers"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://www.digip.org/jansson/"
    1.13 +HOST_ARCH="i486 arm"
    1.14 +
    1.15 +WANTED="jansson"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	get_dev_files
    1.21 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/jansson/receipt	Fri Apr 18 01:43:00 2014 +0200
     2.3 @@ -0,0 +1,29 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="jansson"
     2.7 +VERSION="2.6"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="C library for encoding, decoding and manipulating JSON data."
    2.10 +MAINTAINER="pankso@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.13 +WEB_SITE="http://www.digip.org/jansson/"
    2.14 +WGET_URL="http://www.digip.org/jansson/releases/$TARBALL"
    2.15 +HOST_ARCH="i486 arm"
    2.16 +
    2.17 +DEPENDS="xorg-libX11"
    2.18 +BUILD_DEPENDS="xorg-libX11-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	./configure $CONFIGURE_ARGS &&
    2.24 +	make && make install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	mkdir -p $fs/usr/lib
    2.31 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.32 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/mygestures/receipt	Fri Apr 18 01:43:00 2014 +0200
     3.3 @@ -0,0 +1,32 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="mygestures"
     3.7 +VERSION="0.7"
     3.8 +CATEGORY="x-window"
     3.9 +SHORT_DESC="Recognizing gestures made ​​with your mouse and perform actions."
    3.10 +MAINTAINER="pankso@slitaz.org"
    3.11 +LICENSE="GPL2"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://sourceforge.net/projects/mygestures/"
    3.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.15 +HOST_ARCH="i486 arm"
    3.16 +
    3.17 +DEPENDS="xorg-libX11 xorg-libXtst jansson"
    3.18 +BUILD_DEPENDS="xorg-libX11-dev xorg-libXtst jansson-dev"
    3.19 +
    3.20 +# Rules to configure and make the package.
    3.21 +compile_rules()
    3.22 +{
    3.23 +	./configure \
    3.24 +		--sysconfdir=/etc/$PACKAGE \
    3.25 +		$CONFIGURE_ARGS &&
    3.26 +	make && make install
    3.27 +}
    3.28 +
    3.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.30 +genpkg_rules()
    3.31 +{
    3.32 +	mkdir -p $fs/usr
    3.33 +	cp -a $install/etc $fs
    3.34 +	cp -a $install/usr/bin $fs/usr
    3.35 +}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/xautomation/receipt	Fri Apr 18 01:43:00 2014 +0200
     4.3 @@ -0,0 +1,29 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="xautomation"
     4.7 +VERSION="1.09"
     4.8 +CATEGORY="x-window"
     4.9 +SHORT_DESC="Control X from the command line for scripts (fte, visgrep)."
    4.10 +MAINTAINER="pankso@slitaz.org"
    4.11 +LICENSE="GPL2"
    4.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    4.13 +WEB_SITE="http://hoopajoo.net/projects/xautomation.html"
    4.14 +WGET_URL="http://hoopajoo.net/static/projects/$TARBALL"
    4.15 +#HOST_ARCH="i486 arm"
    4.16 +
    4.17 +DEPENDS="xorg-libX11"
    4.18 +BUILD_DEPENDS="xorg-libX11-dev"
    4.19 +
    4.20 +# Rules to configure and make the package.
    4.21 +compile_rules()
    4.22 +{
    4.23 +	./configure $CONFIGURE_ARGS &&
    4.24 +	make && make install
    4.25 +}
    4.26 +
    4.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.28 +genpkg_rules()
    4.29 +{
    4.30 +	mkdir -p $fs/usr
    4.31 +	cp -a $install/usr/bin $fs/usr
    4.32 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/xstroke/receipt	Fri Apr 18 01:43:00 2014 +0200
     5.3 @@ -0,0 +1,38 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="xstroke"
     5.7 +VERSION="0.6"
     5.8 +CATEGORY="x-window"
     5.9 +SHORT_DESC="Full-screen gesture recognition program for X."
    5.10 +MAINTAINER="pankso@slitaz.org"
    5.11 +LICENSE="GPL2"
    5.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.13 +WEB_SITE="http://cworth.org/~cworth/papers/xstroke/"
    5.14 +WGET_URL="http://davesource.com/Projects/xstroke/xstroke.tar.gz"
    5.15 +HOST_ARCH="i486 arm"
    5.16 +
    5.17 +DEPENDS="xorg-libX11"
    5.18 +BUILD_DEPENDS="xorg-libX11-dev"
    5.19 +
    5.20 +# Rules to configure and make the package.
    5.21 +compile_rules()
    5.22 +{
    5.23 +	case "$ARCH" in
    5.24 +		i?86) sysroot="" ;;
    5.25 +		arm*) sysroot="/cross/$ARCH/sysroot" ;;
    5.26 +	esac
    5.27 +	sed -i \
    5.28 +		-e s"#^CC.*#CC = ${HOST_SYSTEM}-gcc#" \
    5.29 +		-e s"#^INCLUDE.*#INCLUDE = -I${sysroot}/usr/include#" \
    5.30 +		-e s"#^LDFLAGS.*#LDFLAGS = -L${sysroot}/usr/lib#" Makefile &&
    5.31 +	make xstroke
    5.32 +}
    5.33 +
    5.34 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.35 +genpkg_rules()
    5.36 +{
    5.37 +	mkdir -p $fs/usr/bin $fs/usr/share/doc/${PACKAGE}
    5.38 +	cp -a ${src}/${PACKAGE} $fs/usr/bin
    5.39 +	cp -a ${src}/${PACKAGE}.man \
    5.40 +		$fs/usr/share/doc/${PACKAGE}/${PACKAGE}.txt
    5.41 +}