/[gentoo-x86]/net-misc/libupnp/libupnp-1.4.4-r1.ebuild
Gentoo

Contents of /net-misc/libupnp/libupnp-1.4.4-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Apr 29 14:50:41 2007 UTC (12 years, 7 months ago) by gurligebis
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Bumping to version 1.4.5, contains FreeBSD fix and some other fixes.
(Portage version: 2.1.2.4)

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/libupnp/libupnp-1.4.4-r1.ebuild,v 1.2 2007/04/19 14:32:28 drizzt Exp $
4
5 WANT_AUTOMAKE=1.9
6
7 inherit eutils flag-o-matic autotools
8
9 DESCRIPTION="An Portable Open Source UPnP Development Kit"
10 HOMEPAGE="http://pupnp.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/pupnp/${P}.tar.bz2"
12
13 LICENSE="BSD"
14 SLOT="0"
15 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
16 IUSE="debug"
17
18 RDEPEND="!net-misc/upnp"
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23
24 epatch "${FILESDIR}"/${PN}-${PVR}-fbsd.patch
25
26 AT_M4DIR="m4" eautoreconf
27
28 # fix tests
29 chmod +x ixml/test/test_document.sh
30 }
31
32 src_compile() {
33 use x86-fbsd && append-flags -O1
34 # w/o docdir to avoid sandbox violations
35 econf \
36 $(use_enable debug) \
37 --without-docdir \
38 || die "econf failed"
39 emake || die "emake failed"
40 }
41
42 src_install () {
43 emake DESTDIR="${D}" install || die "emake install failed"
44 dobin upnp/.libs/upnp_tv_{ctrlpt,device}
45 dodoc NEWS README ChangeLog
46 dohtml upnp/doc/*.pdf
47 }

  ViewVC Help
Powered by ViewVC 1.1.20