blob: 270f479a95b57c1ec45733278b2d856d32a3a2e1 [file] [log] [blame]
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ser2net/ser2net-2.9.1.ebuild,v 1.1 2014/04/04 13:17:20 tomwij Exp $
EAPI=5
DESCRIPTION="Serial To Network Proxy"
SRC_URI="mirror://sourceforge/ser2net/${P}.tar.gz"
HOMEPAGE="http://sourceforge.net/projects/ser2net"
KEYWORDS="*"
SLOT="0"
LICENSE="GPL-2"
DEPEND="tcpd? ( sys-apps/tcp-wrappers )"
RDEPEND="${DEPEND}"
IUSE="tcpd"
src_configure() {
econf $(use_with tcpd tcp-wrappers) --with-uucp-locking
}
src_install () {
default
insinto /etc
newins ${PN}.conf ${PN}.conf.dist
newinitd "${FILESDIR}/${PN}.initd" ${PN}
newconfd "${FILESDIR}/${PN}.confd" ${PN}
}