You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/directvnc/directvnc-0.7.6-r1.ebuild

44 lines
914 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
AUTOTOOLS_IN_SOURCE_BUILD=1
AUTOTOOLS_AUTORECONF=1
inherit eutils autotools-utils
DESCRIPTION="Very thin VNC client for unix framebuffer systems"
HOMEPAGE="https://drinkmilk.github.com/directvnc/"
SRC_URI="https://github.com/downloads/drinkmilk/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="+mouse dmalloc"
RDEPEND="dev-libs/DirectFB[fbcon,dynload]
virtual/jpeg"
DEPEND="${RDEPEND}
dmalloc? ( dev-libs/dmalloc )
x11-proto/xproto"
DOCS=( NEWS THANKS )
src_prepare() {
# Make mouse support optional
use mouse || epatch "${FILESDIR}/${P}-mouse.patch"
sed -i -e 's|$(prefix)/share/doc/@PACKAGE@|@docdir@|g' Makefile.am || die
autotools-utils_src_prepare
}
src_configure() {
myeconfargs=(
$(use_with dmalloc)
)
autotools-utils_src_configure
}