/[gentoo-x86]/net-misc/minissdpd/minissdpd-1.1.20120410.ebuild
Gentoo

Contents of /net-misc/minissdpd/minissdpd-1.1.20120410.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue Apr 10 12:25:23 2012 UTC (2 years, 7 months ago) by blueness
Branch: MAIN
Changes since 1.1: +2 -2 lines
Remove older unstables, and sanitize file names in FILESDIR

(Portage version: 2.1.10.49/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/minissdpd/minissdpd-1.1.20120410.ebuild,v 1.1 2012/04/10 12:11:34 blueness Exp $
4
5 EAPI="4"
6 inherit eutils toolchain-funcs
7
8 DESCRIPTION="MiniSSDP Daemon"
9 SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
10 HOMEPAGE="http://miniupnp.free.fr/"
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86"
15 IUSE=""
16
17 DEPEND=""
18 RDEPEND="sys-apps/net-tools
19 || ( net-misc/miniupnpd net-libs/miniupnpc )"
20
21 src_prepare() {
22 epatch "${FILESDIR}/${P}-respect-CFLAGS.patch"
23 epatch "${FILESDIR}/${P}-remove-initd.patch"
24 }
25
26 src_compile() {
27 emake CC="$(tc-getCC)"
28 }
29
30 src_install () {
31 einstall PREFIX="${D}"
32 newinitd "${FILESDIR}/${PN}.initd" ${PN}
33 newconfd "${FILESDIR}/${PN}.confd" ${PN}
34 dodoc Changelog.txt README
35 doman minissdpd.1
36 }

  ViewVC Help
Powered by ViewVC 1.1.20