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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Feb 27 02:54:08 2007 UTC (12 years, 7 months ago) by weeve
Branch: MAIN
Changes since 1.1: +2 -2 lines
Added ~sparc keyword wrt bug #168279.
(Portage version: 2.1.2-r11)

1 # Copyright 1999-2007 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-r1.ebuild,v 1.1 2007/02/25 12:57:46 gurligebis Exp $
4
5 DESCRIPTION="Deamon that emulates Microsoft's Internet Connection Sharing (ICS)
6 for UPnP-aware clients"
7 HOMEPAGE="http://linux-igd.sourceforge.net"
8 SRC_URI="mirror://sourceforge/linux-igd/linuxigd-${PV}.tar.gz"
9
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="~sparc ~x86"
13 IUSE=""
14
15 DEPEND=">=net-misc/libupnp-1.4.1"
16 RDEPEND="net-firewall/iptables"
17 S=${WORKDIR}/linuxigd-${PV}
18
19 src_compile() {
20 sed -i -e "s|/etc/linuxigd|${D}/etc/linuxigd|" \
21 -e "s|/usr/bin|${D}/usr/bin|" Makefile
22 sed -i -e "s|/etc/upnpd.conf|/etc/linuxigd/upnpd.conf|" globals.h
23
24 emake || die "compile failed"
25 }
26
27 src_install() {
28 dobin upnpd
29 insinto /etc/linuxigd
30 doins etc/dummy.xml
31 doins etc/gateconnSCPD.xml
32 doins etc/gatedesc.xml
33 doins etc/gateicfgSCPD.xml
34 doins etc/ligd.gif
35 doins etc/upnpd.conf
36
37 newinitd ${FILESDIR}/upnpd.initd-${PVR} upnpd
38 newconfd ${FILESDIR}/upnpd.confd-${PVR} upnpd
39
40 dodoc CHANGES INSTALL LICENSE
41 }
42
43 pkg_postinst() {
44 einfo "Make sure your firewall allows routing of packages"
45 einfo "to 239.0.0.0/255.0.0.0 correctly."
46 }

  ViewVC Help
Powered by ViewVC 1.1.20