Magellan Linux

Contents of /branches/R11-stable/extras/libvncserver/libvncserver-0.9.9-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15253 - (show annotations) (download)
Wed Jan 2 11:02:10 2013 UTC (11 years, 4 months ago) by niro
File size: 914 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="libvncserver"
4 PVER="0.9.9"
5 PBUILD="r1"
6
7 PCAT="net-libs"
8
9 DESCRIPTION="LibVNCServer is ripped out of Xvnc to provide an easy API to write one's own vnc server."
10 HOMEPAGE="http://sourceforge.net/projects/libvncserver/"
11
12 DEPEND=">= sys-libs/zlib-1.2.5
13 >= media-libs/libjpeg-8"
14
15 SRCFILE="LibVNCServer-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/LibVNCServer-${PVER}"
17
18 sminclude mbuild
19
20 SRC_URI=(
21 sourceforge://${PNAME}/${SRCFILE}
22 mirror://${PNAME}/${SRCFILE}
23 )
24
25 UP2TARBALL="LibVNCServer"
26 UP2DATE="updatecmd_sourceforge ${PNAME} gz"
27
28 src_prepare()
29 {
30 munpack ${SRCFILE} || die
31 cd ${SRCDIR}
32
33 # exclude x11vnc
34 sed -i '/^SUBDIRS/s:x11vnc::' Makefile.in || die
35
36 # fix cflags in all subdirs
37 sed -i '/^CFLAGS =/d' Makefile.in || die
38 sed -i '/^AM_CFLAGS/s: -g : :' */Makefile.in || die
39 }
40
41 src_compile()
42 {
43 cd ${SRCDIR}
44 mconfigure --with-zlib --with-jpeg --with-backchannel --with-24bpp || die
45 mmake || die
46 }