wok annotate tightvnc/receipt @ rev 6873
Added linux-module-headers to iptables build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 21:15:50 2010 +0000 (2010-10-20) |
parents | 94df704e5b86 |
children | d49009465257 |
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" |
jozee@4973 | 16 TAGS="remote-desktop" |
pascal@3631 | 17 |
pascal@3631 | 18 # Rules to configure and make the package. |
pascal@3631 | 19 compile_rules() |
pascal@3631 | 20 { |
pascal@3631 | 21 [ -d vnc_unixsrc ] && mv vnc_unixsrc $src |
pascal@3631 | 22 cd $src |
pascal@3631 | 23 xmkmf && |
pascal@3631 | 24 make World && |
pascal@3631 | 25 cd Xvnc && |
pascal@3631 | 26 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1 |
pascal@3631 | 27 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g' |
pascal@3631 | 28 make && |
pascal@3631 | 29 make DESTDIR=$PWD/../_pkg install |
pascal@3631 | 30 cd .. && |
pascal@3631 | 31 make DESTDIR=$PWD/_pkg install |
pascal@3631 | 32 } |
pascal@3631 | 33 |
pascal@3631 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3631 | 35 genpkg_rules() |
pascal@3631 | 36 { |
pascal@3631 | 37 mkdir -p $fs/usr/bin |
pascal@3631 | 38 cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin |
pascal@3632 | 39 cp $src/vncpasswd/vncpasswd $fs/usr/bin |
pascal@3631 | 40 } |