# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils autotools EAPI=2 MY_P="${PN}_20090906" DESCRIPTION="Linux Call Router" HOMEPAGE="http://www.linux-call-router.de" SRC_URI="http://www.linux-call-router.de/download/${P}/${MY_P}.tar.gz" S="${WORKDIR}/${PN}" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86" IUSE="" DEPEND="" #RDEPEND="app-shells/bash # || ( net-misc/openssh net-misc/ssh )" src_unpack() { unpack ${A} cd ${S} epatch ${FILESDIR}/${P}-makefile.patch eautoreconf # eautomake } src_install() { emake DESTDIR="${D}" install || die "Install failed" dodoc AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README || die } src_test() { # Work in progress, not all pass so we don't die yet. ./runtests }