Magellan Linux

Contents of /branches/magellan-next/core/libvncserver/libvncserver-0.9.8-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8662 - (show annotations) (download)
Wed Jul 27 14:29:40 2011 UTC (12 years, 9 months ago) by niro
File size: 891 byte(s)
auto added: ver bump to 0.9.8-r1
1 # $Id$
2
3 PNAME="libvncserver"
4 PVER="0.9.8"
5 PBUILD="r1"
6
7 PCATEGORIE="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 UP2DATE="updatecmd_sourceforge ${PNAME}"
26
27 src_prepare()
28 {
29 munpack ${SRCFILE} || die
30 cd ${SRCDIR}
31
32 # exclude x11vnc
33 sed -i '/^SUBDIRS/s:x11vnc::' Makefile.in || die
34
35 # fix cflags in all subdirs
36 sed -i '/^CFLAGS =/d' Makefile.in || die
37 sed -i '/^AM_CFLAGS/s: -g : :' */Makefile.in || die
38 }
39
40 src_compile()
41 {
42 cd ${SRCDIR}
43 mconfigure --with-zlib --with-jpeg --with-backchannel --with-24bpp || die
44 mmake || die
45 }