inherit eutils DESCRIPTION="A userspace IP tunnelling daemon" HOMEPAGE="http://packages.qa.debian.org/i/ipip.html" SRC_URI="mirror://debian/pool/main/i/${PN}/${PN}_${PV}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" src_unpack() { unpack ${A} cd "${S}" } src_compile() { emake || die } src_install() { # there is no installation script, we need to do this # all by hand. :( exeinto /usr/sbin doexe ipip dodoc README TODO docinto samples/n8fow dodoc samples/n8fow/* docinto samples/bdale dodoc samples/bdale/* docinto samples/bdale/col.hp.com dodoc samples/bdale/col.hp.com/* docinto samples/bdale/relay.code.org dodoc samples/bdale/relay.code.org/* } pkg_postinst() { elog "This ebuild doesn't contain an init script yet." elog "Please see the documentation for setting up automatic startup." }