# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="A modern version of the Layer 2 Tunneling Protocol (L2TP) daemon" HOMEPAGE="http://www.xelerance.com/software/xl2tpd/" SRC_URI="http://www.xelerance.com/software/xl2tpd/${PN}-${PV}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~x86 ~amd64" S=${WORKDIR}/xl2tp-${PV} src_unpack() { unpack ${A} && cd "${S}" } src_install() { dosbin l2tpd doman doc/*.[85] dodoc BUGS CHANGELOG LICENSE README TODO \ doc/rfc2661.txt doc/origREADME doc/*.sample insinto /etc/xl2tpd newins doc/l2tp-secrets.sample l2tp-secrets newins doc/l2tpd.conf.sample l2tpd.conf newinitd "${FILESDIR}/l2tpd-init" l2tpd }