/[gentoo-x86]/net-misc/ser2net/ser2net-2.7-r1.ebuild
Gentoo

Contents of /net-misc/ser2net/ser2net-2.7-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Sep 23 08:21:37 2012 UTC (2 years, 2 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
x86 stable wrt bug #433343

(Portage version: 2.1.11.9/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ser2net/ser2net-2.7-r1.ebuild,v 1.2 2012/09/01 02:54:35 blueness Exp $
4
5 EAPI=4
6
7 inherit base autotools
8
9 DESCRIPTION="Serial To Network Proxy"
10 SRC_URI="mirror://sourceforge/ser2net/${P}.tar.gz"
11 HOMEPAGE="http://sourceforge.net/projects/ser2net"
12
13 KEYWORDS="~amd64 ppc x86"
14 SLOT="0"
15 LICENSE="GPL-2"
16
17 DEPEND="tcpd? ( sys-apps/tcp-wrappers )"
18 RDEPEND="${DEPEND}"
19
20 IUSE="tcpd"
21
22 PATCHES=( "${FILESDIR}/${P}-b230400.diff" )
23 DOCS=( "AUTHORS" "NEWS" "README" "ChangeLog" )
24
25 src_prepare() {
26 base_src_prepare
27 eautoreconf
28 }
29
30 src_configure() {
31 local myopts="$(use_with tcpd tcp-wrappers) --with-uucp-locking"
32 econf ${myopts} || die "econf failed"
33 }
34
35 src_install () {
36 base_src_install
37 insinto /etc
38 newins ${PN}.conf ${PN}.conf.dist
39 newinitd "${FILESDIR}/${PN}.initd" ${PN}
40 newconfd "${FILESDIR}/${PN}.confd" ${PN}
41 }

  ViewVC Help
Powered by ViewVC 1.1.20