wok-4.x rev 6742
Added libvncserver. Needed for virtualbox-ose.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 17 01:38:26 2010 +0000 (2010-10-17) |
parents | 3c77c3abd603 |
children | 8e7e58a7afbd |
files | libvncserver-dev/receipt libvncserver/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libvncserver-dev/receipt Sun Oct 17 01:38:26 2010 +0000 1.3 @@ -0,0 +1,21 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libvncserver-dev" 1.7 +VERSION="0.9.7" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="devel files for libvncserver" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="libvncserver" 1.12 +WEB_SITE="http://libvncserver.sourceforge.net/" 1.13 +WANTED="libvncserver" 1.14 +SOURCE="LibVNCServer" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + _pkg=$WOK/$WANTED/$SOURCE-$VERSION/_pkg 1.20 + mkdir -p $fs/usr/lib 1.21 + cp -a $_pkg/usr/include $fs/usr 1.22 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.23 +} 1.24 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libvncserver/receipt Sun Oct 17 01:38:26 2010 +0000 2.3 @@ -0,0 +1,34 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libvncserver" 2.7 +VERSION="0.9.7" 2.8 +CATEGORY="network" 2.9 +SHORT_DESC="The vnc library" 2.10 +MAINTAINER="slaxemulator@gmail.com" 2.11 +DEPENDS="jpeg zlib" 2.12 +BUILD_DEPENDS="jpeg-dev zlib" 2.13 +SOURCE="LibVNCServer" 2.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.15 +WEB_SITE="http://libvncserver.sourceforge.net/" 2.16 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + ./configure \ 2.23 + --prefix=/usr \ 2.24 + --infodir=/usr/share/info \ 2.25 + --mandir=/usr/share/man \ 2.26 + $CONFIGURE_ARGS && 2.27 + make && make DESTDIR=$PWD/_pkg install 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + mkdir -p $fs/usr/lib 2.34 + cp -a $_pkg/usr/bin $fs/usr 2.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.36 +} 2.37 +