# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/ipsvd/ipsvd-0.13.0.ebuild,v 1.2 2008/01/26 17:13:36 bangert Exp $ inherit toolchain-funcs flag-o-matic DESCRIPTION="ipsvd is a set of internet protocol service daemons for Unix." HOMEPAGE="http://smarden.org/ipsvd/" SRC_URI="http://smarden.org/ipsvd/${P}.tar.gz" LICENSE="BSD" SLOT="0" KEYWORDS="~x86" IUSE="static" DEPEND="virtual/libc" PROVIDE="virtual/inetd" S="${WORKDIR}/net/${P}" src_compile() { cd "${S}"/src if use static ; then append-ldflags -static fi echo "$(tc-getCC) ${CFLAGS}" > conf-cc echo "$(tc-getCC) ${LDFLAGS}" > conf-ld emake || die "make failed" } src_install() { dobin src/{tcpsvd,udpsvd,ipsvd-cdb} || die "dobin" dodoc package/{CHANGES,README} dohtml doc/*.html doman man/ipsvd-instruct.5 man/ipsvd.7 man/udpsvd.8 \ man/tcpsvd.8 man/ipsvd-cdb.8 }