wok-current annotate tightvnc/receipt @ rev 4743
hal: Allow access to NTFS partitions.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 08 07:45:45 2010 +0100 (2010-01-08) |
parents | ea00d246c1ab |
children | 866fa2493b1b |
rev | line source |
---|---|
pascal@3631 | 1 # SliTaz package receipt. |
pascal@3631 | 2 |
pascal@3631 | 3 PACKAGE="tightvnc" |
pascal@3631 | 4 VERSION="1.3.10" |
pascal@3631 | 5 CATEGORY="x-window" |
pascal@3631 | 6 SHORT_DESC="VNC server (graphical remote control)." |
pascal@3631 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@3631 | 8 TARBALL="$PACKAGE-${VERSION}_unixsrc.tar.bz2" |
pascal@3631 | 9 WEB_SITE="http://www.tightvnc.com/" |
pascal@3631 | 10 WGET_URL="$SF_MIRROR/vnc-tight/$TARBALL" |
pascal@3631 | 11 DEPENDS="xfree86-base-fonts jpeg zlib" |
pascal@4191 | 12 BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-cf-files xorg-libXp \ |
pascal@4191 | 13 xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev \ |
pascal@4191 | 14 xorg-libXmu-dev xorg-xextproto xorg-printproto xorg-kbproto xorg-inputproto \ |
pascal@4191 | 15 xorg-scrnsaverproto" |
pascal@3631 | 16 |
pascal@3631 | 17 # Rules to configure and make the package. |
pascal@3631 | 18 compile_rules() |
pascal@3631 | 19 { |
pascal@3631 | 20 [ -d vnc_unixsrc ] && mv vnc_unixsrc $src |
pascal@3631 | 21 cd $src |
pascal@3631 | 22 xmkmf && |
pascal@3631 | 23 make World && |
pascal@3631 | 24 cd Xvnc && |
pascal@3631 | 25 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1 |
pascal@3631 | 26 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g' |
pascal@3631 | 27 make && |
pascal@3631 | 28 make DESTDIR=$PWD/../_pkg install |
pascal@3631 | 29 cd .. && |
pascal@3631 | 30 make DESTDIR=$PWD/_pkg install |
pascal@3631 | 31 } |
pascal@3631 | 32 |
pascal@3631 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3631 | 34 genpkg_rules() |
pascal@3631 | 35 { |
pascal@3631 | 36 mkdir -p $fs/usr/bin |
pascal@3631 | 37 cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin |
pascal@3632 | 38 cp $src/vncpasswd/vncpasswd $fs/usr/bin |
pascal@3631 | 39 } |