From 721254b86a09bdedd5eefd0de7899c90ea2ead1a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 1 Jan 2018 20:42:22 +0000 Subject: gentoo resync : 01.01.2018 --- net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild | 50 ++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild (limited to 'net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild') diff --git a/net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild b/net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild new file mode 100644 index 000000000000..2b0e4522e88a --- /dev/null +++ b/net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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="~amd64 ~x86" +IUSE="static" + +DEPEND="" +RDEPEND="" + +S="${WORKDIR}/net/${P}" + +PATCHES=( + "${FILESDIR}"/${P}-fix-parallel-make.diff +) + +src_configure() { + cd "${S}"/src + if use static ; then + append-ldflags -static + fi + + echo "$(tc-getCC) ${CFLAGS}" > conf-cc + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld +} + +src_compile() { + cd "${S}"/src + emake +} + +src_install() { + dobin src/{tcpsvd,udpsvd,ipsvd-cdb} + dodoc package/{CHANGES,README} + + doman man/ipsvd-instruct.5 man/ipsvd.7 man/udpsvd.8 \ + man/tcpsvd.8 man/ipsvd-cdb.8 + + insinto html + dohtml doc/*.html +} -- cgit v1.2.3