wok-next view tightvnc/receipt @ rev 11847

busybox: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 08:41:10 2012 +0100 (2012-02-27)
parents d49009465257
children dcfbc997590a
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="xorg-base-fonts jpeg zlib"
12 BUILD_DEPENDS="xorg-imake xorg-gccmakedep xorg-cf-files xorg-libXp \
13 xorg-libXaw-dev xorg-libXt-dev xorg-xproto xorg-libXau-dev xorg-libXdmcp-dev \
14 xorg-libXmu-dev xorg-xextproto xorg-printproto xorg-kbproto xorg-inputproto \
15 xorg-scrnsaverproto xorg-xauth"
16 TAGS="remote-desktop"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 [ -d vnc_unixsrc ] && mv vnc_unixsrc $src
22 cd $src
23 xmkmf &&
24 make -j1 World &&
25 cd Xvnc &&
26 ./configure --prefix=/usr $CONFIGURE_ARGS || return 1
27 sed 's|PROTO_DEFINES =|PROTO_DEFINES = -D_XOPEN_SOURCE=500L|' \
28 -i programs/Xserver/os/Makefile lib/font/fc/Makefile || return 1
29 find -name Makefile | xargs sed -i 's|/usr/X11R6/bin|/usr/bin|g'
30 make -j1 &&
31 make -j1 DESTDIR=$PWD/../_pkg install
32 cd .. &&
33 make -j1 DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 cp -a $_pkg/usr/bin/Xvnc $fs/usr/bin
41 cp $src/vncpasswd/vncpasswd $fs/usr/bin
42 }