/[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.5 - (hide annotations) (download)
Sun Apr 8 00:37:04 2007 UTC (12 years, 6 months ago) by josejx
Branch: MAIN
Changes since 1.4: +2 -2 lines
Marked ~ppc for bug #168279.
(Portage version: 2.1.2.3)

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

  ViewVC Help
Powered by ViewVC 1.1.20