blob: 253ab1fb78da79be1585891f1c97731b96f78bae (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/libupnp/libupnp-1.4.0.ebuild,v 1.1 2006/07/01 18:38:25 genstef Exp $
inherit eutils toolchain-funcs
DESCRIPTION="An Portable Open Source UPnP Development Kit"
HOMEPAGE="http://www.virtualworlds.de/upnp/"
SRC_URI="mirror://sourceforge/pupnp/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="debug"
DEPEND="${RDEPEND}"
RDEPEND="!net-misc/upnp
sys-fs/e2fsprogs"
src_unpack() {
unpack ${A}
cd ${S}
# fix compile problems on amd64
epatch ${FILESDIR}/${P}-va_list.patch
}
src_compile() {
# w/o docdir to avoid sandbox violations
econf \
$(use_enable debug) \
--without-docdir || die "econf failed"
emake || die "emake failed"
}
src_install () {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc LICENSE NEWS README ChangeLog
dohtml upnp/doc/*.pdf
}
|