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

Contents of /net-misc/linux-igd/linux-igd-0.92.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Mon Jan 22 18:23:48 2007 UTC (12 years, 10 months ago) by antarus
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +1 -1 lines
FILE REMOVED
remove old versions
(Portage version: 2.1.1-r2)
 (Unsigned Manifest commit)

1 # Copyright 1999-2006 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-0.92.ebuild,v 1.8 2006/04/14 22:10:31 tester Exp $
4
5 MY_PN="linuxigd"
6 S="${WORKDIR}/${PN}"
7
8 DESCRIPTION="Daemon that emulates Microsoft's Internet Connection Service (ICS)
9 for UPnP-aware clients"
10 HOMEPAGE="http://linux-igd.sourceforge.net"
11 SRC_URI="mirror://sourceforge/linux-igd/${MY_PN}-${PV}.tgz"
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~x86 ~sparc ~ppc ~amd64"
15 IUSE=""
16
17 DEPEND="<net-misc/upnp-1.1
18 net-firewall/iptables"
19
20
21 src_compile() {
22 mv Makefile Makefile.orig
23 sed <Makefile.orig >Makefile \
24 -e "s|/etc/linuxigd|${D}/etc/linuxigd|" \
25 -e "s|/usr/bin|${D}/usr/bin|"
26
27 mv pmlist.cpp pmlist.cpp.orig
28 sed <pmlist.cpp.orig >pmlist.cpp \
29 -e 's|/usr/sbin/iptables|/sbin/iptables|g'
30
31 emake || die "compile problem"
32 }
33
34 src_install () {
35 dobin upnpd
36 insinto /etc/linuxigd
37 doins etc/*
38 doins ${FILESDIR}/upnpd.conf
39 newinitd ${FILESDIR}/rc_upnpd upnpd
40 dodoc CHANGELOG LICENSE README SECURITY TODO
41 }
42
43 pkg_postinst() {
44 einfo "Make sure your firewall routing broadcast packages"
45 einfo "to 239.0.0.0/255.0.0.0 correctly. See"
46 einfo "/usr/share/doc/${P}/README.gz"
47 einfo "for more information."
48 }

  ViewVC Help
Powered by ViewVC 1.1.20