summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2018-01-01 17:57:11 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2018-01-01 17:57:11 +0100
commitc87ca5eddea55a56a618e37ac0014f582f9a65b2 (patch)
tree451ac9a27ee36432a5d5b3423193229df843a77e /net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild
parentnet-misc/aget: EAPI bump, bug 605728 (diff)
downloadgentoo-c87ca5eddea55a56a618e37ac0014f582f9a65b2.tar.gz
gentoo-c87ca5eddea55a56a618e37ac0014f582f9a65b2.tar.bz2
gentoo-c87ca5eddea55a56a618e37ac0014f582f9a65b2.zip
net-misc/ipsvd: EAPI bump, bug 605728
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild')
-rw-r--r--net-misc/ipsvd/ipsvd-1.0.0-r2.ebuild50
1 files changed, 50 insertions, 0 deletions
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
+}