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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.3 Revision 1.4
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-igd/Attic/linux-igd-1.0-r1.ebuild,v 1.3 2007/02/27 10:13:54 gurligebis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-igd/Attic/linux-igd-1.0-r1.ebuild,v 1.4 2007/02/27 16:56:46 gurligebis Exp $
4 4
5inherit eutils
5DESCRIPTION="Deamon that emulates Microsoft's Internet Connection Sharing (ICS) 6DESCRIPTION="Deamon that emulates Microsoft's Internet Connection Sharing (ICS)
6 for UPnP-aware clients" 7 for UPnP-aware clients"
7HOMEPAGE="http://linux-igd.sourceforge.net" 8HOMEPAGE="http://linux-igd.sourceforge.net"
8SRC_URI="mirror://sourceforge/linux-igd/linuxigd-${PV}.tar.gz" 9SRC_URI="mirror://sourceforge/linux-igd/linuxigd-${PV}.tar.gz"
9 10
15DEPEND=">=net-misc/libupnp-1.4.1" 16DEPEND=">=net-misc/libupnp-1.4.1"
16RDEPEND="net-firewall/iptables" 17RDEPEND="net-firewall/iptables"
17S=${WORKDIR}/linuxigd-${PV} 18S=${WORKDIR}/linuxigd-${PV}
18 19
19src_compile() { 20src_compile() {
20 sed -i -e "s|/etc/linuxigd|${D}/etc/linuxigd|" \ 21 epatch ${FILESDIR}/makefile-fix-${PVR}.diff
21 -e "s|/usr/bin|${D}/usr/bin|" Makefile 22 sed -i -e "s|/etc/linuxigd|${D}/etc/linuxigd|" -e "s|/usr/bin|${D}/usr/bin|" Makefile
22 sed -i -e "s|/etc/upnpd.conf|/etc/linuxigd/upnpd.conf|" globals.h 23 sed -i -e "s|/etc/upnpd.conf|/etc/linuxigd/upnpd.conf|" globals.h
23 24
24 emake || die "compile failed" 25 emake || die "compile failed"
25} 26}
26 27

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20