/[gentoo-x86]/net-misc/miniupnpd/miniupnpd-20090129.ebuild
Gentoo

Contents of /net-misc/miniupnpd/miniupnpd-20090129.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Apr 16 17:33:31 2009 UTC (9 years, 5 months ago) by gurligebis
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bumping to 20090214
(Portage version: 2.2_rc29/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-20090129.ebuild,v 1.1 2009/01/30 00:05:18 gurligebis Exp $
4
5 EAPI="2"
6
7 inherit eutils linux-info
8
9 DESCRIPTION="MiniUPnP IGD Daemon"
10 SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
11 HOMEPAGE="http://miniupnp.free.fr/"
12 LICENSE="miniupnpd"
13
14 KEYWORDS="~x86"
15 SLOT="0"
16 IUSE=""
17
18 DEPEND=">=net-firewall/iptables-1.4.2-r1
19 sys-apps/lsb-release"
20 RDEPEND="${DEPEND}"
21
22 src_prepare() {
23 mv Makefile.linux Makefile
24 epatch "${FILESDIR}/${P}-iptables.diff"
25 epatch "${FILESDIR}/${P}-iptables_path.diff"
26 sed -i -e "s#^CFLAGS = #CFLAGS = -I${KV_OUT_DIR}/include #" Makefile
27 # we don't use netfilter/Makefile
28 gmake config.h
29 }
30
31 src_install () {
32 PREFIX="${D}" einstall || die
33
34 newinitd "${FILESDIR}/${P}-init.d" "${PN}"
35 newconfd "${FILESDIR}/${P}-conf.d" "${PN}"
36 }
37
38 pkg_postinst() {
39 elog "Please correct the external interface in the top of the two"
40 elog "scripts in /etc/miniupnpd and edit the config file in there too"
41 }

  ViewVC Help
Powered by ViewVC 1.1.20