39 lines
879 B
Bash
39 lines
879 B
Bash
|
# Copyright 1999-2008 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/net-misc/nxcl/nxcl-0.9.ebuild,v 1.5 2008/06/05 15:20:04 pva Exp $
|
||
|
|
||
|
inherit autotools
|
||
|
|
||
|
MY_P="freenx-client-${PV}"
|
||
|
DESCRIPTION="A library for building NX clients"
|
||
|
HOMEPAGE="http://developer.berlios.de/projects/freenx/"
|
||
|
SRC_URI="mirror://berlios/freenx/${MY_P}.tar.bz2"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="amd64 x86"
|
||
|
IUSE="dbus doc"
|
||
|
|
||
|
RDEPEND="net-misc/nx
|
||
|
net-misc/nxclient
|
||
|
dbus? ( sys-apps/dbus )"
|
||
|
DEPEND="${RDEPEND}
|
||
|
doc? ( app-doc/doxygen )"
|
||
|
S="${WORKDIR}/${MY_P}/${PN}"
|
||
|
|
||
|
src_unpack() {
|
||
|
unpack ${A}
|
||
|
cd "${S}"
|
||
|
epatch ${FILESDIR}/gcc-4.3.diff
|
||
|
eautoreconf
|
||
|
}
|
||
|
|
||
|
src_compile() {
|
||
|
econf $(use_with doc doxygen) || die "configure failed"
|
||
|
emake || die "make failed"
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
emake DESTDIR="${D}" install || die "install failed"
|
||
|
}
|