/[gentoo-x86]/net-misc/netkit-rwall/netkit-rwall-0.17-r1.ebuild
Gentoo

Contents of /net-misc/netkit-rwall/netkit-rwall-0.17-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Jun 21 09:21:52 2012 UTC (7 years, 5 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +17 -11 lines
net-misc/netkit-rwall: Moved to EAPI=4, keyworded for ~amd64

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

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/netkit-rwall/netkit-rwall-0.17-r1.ebuild,v 1.1 2010/09/20 02:26:19 jer Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="Netkit - rwall"
10 HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
11 SRC_URI="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/${P}.tar.gz"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 src_prepare() {
19 sed \
20 -e "s:-O2 -Wall:-Wall:" \
21 -e "s:-Wpointer-arith::" \
22 -i MCONFIG.in || die
23 sed \
24 -e '/^LDFLAGS=/d' \
25 -i configure || die "sed configure"
26 }
27
28 src_configure() {
29 ./configure \
30 --verbose \
31 --with-c-compiler=$(tc-getCC) || die
32 }
33
34 src_install() {
35 dobin rwall/rwall
36 doman rwall/rwall.1 rpc.rwalld/rpc.rwalld.8
37 dosbin rpc.rwalld/rwalld
38 dosym rpc.rwalld.8 /usr/share/man/man8/rwall.8
39 dodoc README ChangeLog BUGS
40 }

  ViewVC Help
Powered by ViewVC 1.1.20