blob: bb8fc6d628bad945d895e520c0e12e625631cf42 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/sercd/sercd-3.0.0.ebuild,v 1.1 2009/03/22 12:44:53 mrness Exp $
EAPI="2"
DESCRIPTION="RFC2217-compliant serial port redirector"
SRC_URI="mirror://sourceforge/sercd/${P}.tar.gz"
HOMEPAGE="http://sourceforge.net/projects/sercd"
KEYWORDS="~amd64 ~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE="xinetd"
RDEPEND="xinetd? ( virtual/inetd )"
src_install () {
einstall || die "einstall failed"
newinitd "${FILESDIR}"/sercd.initd sercd
newconfd "${FILESDIR}"/sercd.confd sercd
if use xinetd ; then
insinto /etc/xinetd.d
newins "${FILESDIR}"/sercd.xinetd sercd
fi
dodoc AUTHORS README
}
|