wok-current view tightvnc/receipt @ rev 3674
Add ocsinventory-server
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jul 11 12:17:23 2009 +0200 (2009-07-11) |
parents | c84e8a8993a0 |
children | 94df704e5b86 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tightvnc"
4 VERSION="1.3.10"
5 CATEGORY="x-window"
6 SHORT_DESC="VNC server (graphical remote control)."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-${VERSION}_unixsrc.tar.bz2"
9 WEB_SITE="http://www.tightvnc.com/"
10 WGET_URL="$SF_MIRROR/vnc-tight/$TARBALL"
11 DEPENDS="xfree86-base-fonts jpeg zlib"
12 BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-cf-files xorg-libXp"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 [ -d vnc_unixsrc ] && mv vnc_unixsrc $src
18 cd $src
19 xmkmf &&
20 make World &&
21 cd Xvnc &&
22 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1
23 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g'
24 make &&
25 make DESTDIR=$PWD/../_pkg install
26 cd .. &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin
35 cp $src/vncpasswd/vncpasswd $fs/usr/bin
36 }