Contents of /trunk/extras/libvncserver/libvncserver-0.9.9-r4.smage2
Parent Directory | Revision Log
Revision 30194 -
(show annotations)
(download)
Fri Nov 3 08:18:17 2017 UTC (6 years, 10 months ago) by niro
File size: 962 byte(s)
Fri Nov 3 08:18:17 2017 UTC (6 years, 10 months ago) by niro
File size: 962 byte(s)
auto added: ver bump to 0.9.9-r4
1 | # $Id$ |
2 | |
3 | PNAME="libvncserver" |
4 | PVER="0.9.9" |
5 | PBUILD="r4" |
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 | >= virtual/libjpeg |
14 | >= app-crypt/gnutls-3.6 |
15 | >= app-crypt/libgcrypt-1.8" |
16 | |
17 | SRCFILE="LibVNCServer-${PVER}.tar.gz" |
18 | SRCDIR="${BUILDDIR}/LibVNCServer-${PVER}" |
19 | |
20 | sminclude mbuild |
21 | |
22 | SRC_URI=( |
23 | sourceforge://${PNAME}/${SRCFILE} |
24 | mirror://${PNAME}/${SRCFILE} |
25 | ) |
26 | |
27 | UP2TARBALL="LibVNCServer" |
28 | UP2DATE="updatecmd_sourceforge ${PNAME} gz" |
29 | |
30 | src_prepare() |
31 | { |
32 | munpack ${SRCFILE} || die |
33 | cd ${SRCDIR} |
34 | |
35 | # exclude x11vnc |
36 | sed -i '/^SUBDIRS/s:x11vnc::' Makefile.in || die |
37 | |
38 | # fix cflags in all subdirs |
39 | sed -i '/^CFLAGS =/d' Makefile.in || die |
40 | sed -i '/^AM_CFLAGS/s: -g : :' */Makefile.in || die |
41 | } |
42 | |
43 | src_compile() |
44 | { |
45 | cd ${SRCDIR} |
46 | mconfigure --with-zlib --with-jpeg --with-backchannel --with-24bpp || die |
47 | mmake || die |
48 | } |