wok rev 19337

Add gvfb
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 18 11:17:12 2016 +0200 (2016-07-18)
parents 5f91f75f69e4
children 8e396fd3bc8c
files gvfb/receipt syslinux/stuff/iso2exe/iso2exe.sh
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gvfb/receipt	Mon Jul 18 11:17:12 2016 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gvfb"
     1.7 +VERSION="1.0.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="This is a virtual frame buffer program running on GTK."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL3"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.minigui.org/"
    1.14 +WGET_URL="${WEB_SITE}downloads/$TARBALL"
    1.15 +
    1.16 +DEPENDS="gtk+"
    1.17 +BUILD_DEPENDS="cmake pkg-config gtk+-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    1.23 +	mkdir built
    1.24 +	cd built
    1.25 +	cmake	-DCMAKE_MINIMUM_REQUIRED_VERSION=3.0 \
    1.26 +		-DCMAKE_INSTALL_PREFIX=/usr ../src
    1.27 +	make &&
    1.28 +	make DESTDIR=$DESTDIR install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 +genpkg_rules()
    1.33 +{
    1.34 +	mkdir -p $fs/usr
    1.35 +	cp -a $install/usr/bin $fs/usr
    1.36 +}
     2.1 --- a/syslinux/stuff/iso2exe/iso2exe.sh	Sun Jul 17 21:37:21 2016 -0400
     2.2 +++ b/syslinux/stuff/iso2exe/iso2exe.sh	Mon Jul 18 11:17:12 2016 +0200
     2.3 @@ -48,6 +48,7 @@
     2.4  #		2> /dev/null && echo "Store mount.posixovl ($(wc -c \
     2.5  #			< /usr/sbin/mount.posixovl) bytes) ..."
     2.6  	find $TMP -type f -print0 | xargs -0 chmod +x
     2.7 +	find $TMP -print0 | xargs -0 touch -r $1
     2.8  	( cd $TMP ; find * | grep -v rootfs.gz | cpio -o -H newc ) | \
     2.9  		compress $TMP/rootfs.gz
    2.10  	SIZE=$(wc -c < $TMP/rootfs.gz)