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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Jun 1 21:37:13 2007 UTC (12 years, 6 months ago) by gurligebis
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Removed old version, broken, and needs the even more broken net-misc/upnp that has been package.masked.
(Portage version: 2.1.2.9)

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-0.95.ebuild,v 1.2 2007/01/22 18:23:32 antarus Exp $
4
5 MY_PN="linuxigd"
6 S="${WORKDIR}/${MY_PN}-${PV}"
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}.tar.gz"
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~x86 ~sparc ~ppc ~amd64"
15 IUSE=""
16
17 DEPEND=">=net-misc/upnp-1.3
18 net-firewall/iptables"
19
20
21 src_compile() {
22 sed -i -e "s|/etc/linuxigd|${D}/etc/linuxigd|" \
23 -e "s|/usr/bin|${D}/usr/bin|" Makefile
24
25 emake || die "compile problem"
26 }
27
28 src_install () {
29 dobin upnpd
30 insinto /etc/linuxigd
31 doins etc/*
32 doins "${FILESDIR}/upnpd.conf"
33 newinitd "${FILESDIR}/rc_upnpd" upnpd
34 newconfd "${FILESDIR}/upnpd.confd" upnpd
35 dodoc CHANGES INSTALL LICENSE
36 }
37
38 pkg_postinst() {
39 einfo "Make sure your firewall routing broadcast packages"
40 einfo "to 239.0.0.0/255.0.0.0 correctly. See"
41 einfo "/usr/share/doc/${P}/README.gz"
42 einfo "for more information."
43 }

  ViewVC Help
Powered by ViewVC 1.1.20