Contents of /branches/magellan-next/core/libvncserver/libvncserver-0.9.7-r3.smage2
Parent Directory | Revision Log
Revision 7070 -
(show annotations)
(download)
Tue Sep 28 18:04:48 2010 UTC (14 years ago) by niro
File size: 970 byte(s)
Tue Sep 28 18:04:48 2010 UTC (14 years ago) by niro
File size: 970 byte(s)
auto added: ver bump to 0.9.7-r3
1 | # $Id: libvncserver-0.9.7-r2.smage2 3950 2009-11-14 13:04:16Z niro $ |
2 | |
3 | PNAME="libvncserver" |
4 | PVER="0.9.7" |
5 | PBUILD="r3" |
6 | |
7 | PCATEGORIE="net-libs" |
8 | STATE="unstable" |
9 | |
10 | DESCRIPTION="LibVNCServer is ripped out of Xvnc to provide an easy API to write one's own vnc server." |
11 | HOMEPAGE="http://sourceforge.net/projects/libvncserver/" |
12 | |
13 | DEPEND=">= sys-libs/zlib-1.2.5 |
14 | >= media-libs/libjpeg-8" |
15 | |
16 | SRCFILE="LibVNCServer-${PVER}.tar.gz" |
17 | SRCDIR="${BUILDDIR}/LibVNCServer-${PVER}" |
18 | |
19 | sminclude mbuild |
20 | |
21 | SRC_URI=( |
22 | sourceforge://${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd_sourceforge ${PNAME}" |
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 | } |