summaryrefslogtreecommitdiff
blob: 873889a832239b0bbf292302996a86f4e55b71b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="2"

inherit eutils

DESCRIPTION="UPnP client library and a simple UPnP client"
SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
HOMEPAGE="http://miniupnp.free.fr/"

LICENSE="BSD"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""

src_prepare() {
	epatch "${FILESDIR}"/${P}-cflags.diff
}

src_install() {
	emake PREFIX="${D}" install || die "install failed"
	dodoc README Changelog.txt || die "install failed"
	doman man3/* || die "install failed"
}