/[gentoo-x86]/net-misc/linux-igd/linux-igd-1.0-r2.ebuild
Gentoo

Contents of /net-misc/linux-igd/linux-igd-1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Tue Feb 28 21:22:30 2012 UTC (7 years, 9 months ago) by gurligebis
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
net-misc/linux-igd removal.

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/linux-igd/linux-igd-1.0-r2.ebuild,v 1.8 2012/01/28 01:05:40 ssuominen Exp $
4
5 EAPI=4
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="Deamon that emulates Microsoft's Internet Connection Sharing (ICS) for UPnP-aware clients"
9 HOMEPAGE="http://linux-igd.sourceforge.net/"
10 SRC_URI="mirror://sourceforge/${PN}/${PN/-}-${PV}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 ppc sparc x86"
15 IUSE=""
16
17 DEPEND=">=net-libs/libupnp-1.4.1"
18 RDEPEND="${DEPEND}
19 net-firewall/iptables"
20
21 S=${WORKDIR}/${PN/-}-${PV}
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${P}-{build,include}.patch
25 }
26
27 src_compile() {
28 tc-export CC
29 emake
30 }
31
32 src_install() {
33 emake DESTDIR="${D}" install
34
35 newinitd "${FILESDIR}"/upnpd.initd-${PVR} upnpd
36 newconfd "${FILESDIR}"/upnpd.confd-${PVR} upnpd
37
38 dodoc CHANGES TODO INSTALL doc/*
39 }
40
41 pkg_postinst() {
42 elog "Make sure your firewall allows routing of packages to:"
43 elog " 239.0.0.0/255.0.0.0"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20