wok-next annotate tightvnc/receipt @ rev 9298
Add perl-file-slurp.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 17 07:11:54 2011 +0000 (2011-03-17) |
parents | d49009465257 |
children | dcfbc997590a |
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" |
slaxemulator@8535 | 11 DEPENDS="xorg-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 \ |
slaxemulator@8383 | 15 xorg-scrnsaverproto xorg-xauth" |
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 && |
slaxemulator@8383 | 24 make -j1 World && |
pascal@3631 | 25 cd Xvnc && |
pascal@3631 | 26 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1 |
slaxemulator@8383 | 27 sed 's|PROTO_DEFINES =|PROTO_DEFINES = -D_XOPEN_SOURCE=500L|' \ |
slaxemulator@8383 | 28 -i programs/Xserver/os/Makefile lib/font/fc/Makefile || return 1 |
pascal@3631 | 29 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g' |
slaxemulator@8383 | 30 make -j1 && |
slaxemulator@8383 | 31 make -j1 DESTDIR=$PWD/../_pkg install |
pascal@3631 | 32 cd .. && |
slaxemulator@8383 | 33 make -j1 DESTDIR=$PWD/_pkg install |
pascal@3631 | 34 } |
pascal@3631 | 35 |
pascal@3631 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@3631 | 37 genpkg_rules() |
pascal@3631 | 38 { |
pascal@3631 | 39 mkdir -p $fs/usr/bin |
pascal@3631 | 40 cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin |
pascal@3632 | 41 cp $src/vncpasswd/vncpasswd $fs/usr/bin |
pascal@3631 | 42 } |