Magellan Linux

Annotation of /branches/R11-unstable/extras/libvncserver/libvncserver-0.9.9-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 25586 - (hide annotations) (download)
Tue Nov 25 03:59:27 2014 UTC (9 years, 6 months ago) by niro
File size: 967 byte(s)
-release branches/R11-unstable
1 niro 20916 # $Id$
2    
3     PNAME="libvncserver"
4     PVER="0.9.9"
5     PBUILD="r2"
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     >= app-crypt/gnutls-3.2
15     >= app-crypt/libgcrypt-1.6"
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     }