wok rev 20644

Add libsixel
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 11 16:32:25 2019 +0100 (2019-01-11)
parents eb5a3cc75bb7
children accecadab85a
files dropbear/stuff/sshx libsixel-dev/receipt libsixel/receipt
line diff
     1.1 --- a/dropbear/stuff/sshx	Fri Jan 11 16:20:15 2019 +0100
     1.2 +++ b/dropbear/stuff/sshx	Fri Jan 11 16:32:25 2019 +0100
     1.3 @@ -22,7 +22,7 @@
     1.4  	done
     1.5  	xhost +127.0.0.1 > /dev/null 2>&1
     1.6  	pxypass="${DBPROXY_PASSWORD:+export DROPBEAR_PASSWORD=$DBPROXY_PASSWORD; }"
     1.7 -	[ -n "$1" ] || set -- "${TERMINAL:-sakura} -l || ${TERM:-xterm} -ls || xterm -ls"
     1.8 +	[ -n "$1" ] || set -- "${TERMINAL:-sakura} -l || ${TERM:-xterm} -ls || lxterminal"
     1.9  	exec dbclient -f -R $((6000+$n)):127.0.0.1:$((6000+${svr%.*})) ${r/:/ -p } \
    1.10  	   ${DBPROXY:+-J "sh -c '${pxypass}dbclient ${k}-B ${a#*@}:$p ${DBPROXY/:/ -p }'"} \
    1.11  	   "xauth add $dpy $data; export DISPLAY=$scr; $@ ; xauth remove $dpy" \
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/libsixel-dev/receipt	Fri Jan 11 16:32:25 2019 +0100
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="libsixel-dev"
     2.7 +VERSION="1.8.2"
     2.8 +CATEGORY="development"
     2.9 +SHORT_DESC="A SIXEL encoder/decoder implementation derived from kmiya's sixel, development files"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="MIT"
    2.12 +WEB_SITE="https://github.com/saitoha/libsixel"
    2.13 +WANTED="libsixel"
    2.14 +
    2.15 +DEPENDS="libsixel pkg-config"
    2.16 +
    2.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 +genpkg_rules()
    2.19 +{
    2.20 +	mkdir -p $fs/usr/lib
    2.21 +	cp -a $install/usr/include $fs/usr
    2.22 +	cp -a $install/usr/lib/*a $fs/usr/lib
    2.23 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    2.24 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/libsixel/receipt	Fri Jan 11 16:32:25 2019 +0100
     3.3 @@ -0,0 +1,30 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="libsixel"
     3.7 +VERSION="1.8.2"
     3.8 +CATEGORY="graphics"
     3.9 +SHORT_DESC="A SIXEL encoder/decoder implementation derived from kmiya's sixel"
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="MIT"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="https://github.com/saitoha/libsixel"
    3.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    3.15 +
    3.16 +BUILD_DEPENDS="python"
    3.17 +
    3.18 +# Rules to configure and make the package.
    3.19 +compile_rules()
    3.20 +{
    3.21 +	./configure --prefix=/usr --mandir=/usr/share/man \
    3.22 +		$CONFIGURE_ARGS &&
    3.23 +	make &&
    3.24 +	make DESTDIR=$DESTDIR install
    3.25 +}
    3.26 +
    3.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.28 +genpkg_rules()
    3.29 +{
    3.30 +	mkdir -p $fs/usr/lib
    3.31 +	cp -a $install/usr/bin $fs/usr
    3.32 +	cp -a $install/usr/lib/*.so.* $fs/usr/lib
    3.33 +}