/[gentoo-x86]/net-libs/libupnp/libupnp-1.6.18-r1.ebuild
Gentoo

Contents of /net-libs/libupnp/libupnp-1.6.18-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Wed May 27 12:14:54 2015 UTC (5 years, 6 months ago) by zlogene
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
arm stable wrt bug #545206

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xC42EB5D6)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libupnp/libupnp-1.6.18-r1.ebuild,v 1.8 2015/05/17 20:08:12 pacho Exp $
4
5 EAPI=5
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="alpha amd64 arm hppa ppc ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux"
16 IUSE="debug doc ipv6 static-libs"
17
18 DOCS="NEWS README ChangeLog"
19
20 src_prepare() {
21 epatch "${FILESDIR}"/${P}-suse.patch
22
23 # fix tests
24 chmod +x ixml/test/test_document.sh || die
25
26 eautoreconf
27 }
28
29 src_configure() {
30 use x86-fbsd && append-flags -O1
31 # w/o docdir to avoid sandbox violations
32 econf \
33 $(use_enable debug) \
34 $(use_enable ipv6) \
35 $(use_enable static-libs static) \
36 $(use_with doc documentation "${EPREFIX}/usr/share/doc/${PF}")
37 }
38
39 src_install () {
40 default
41 dobin upnp/sample/.libs/tv_{combo,ctrlpt,device}
42 use static-libs || prune_libtool_files
43 }
44
45 pkg_postinst() {
46 ewarn "Please remember to run revdep-rebuild when upgrading"
47 ewarn "from libupnp 1.4.x to libupnp 1.6.x , so packages"
48 ewarn "gets linked with the new library."
49 echo ""
50 ewarn "The revdep-rebuild script is part of the"
51 ewarn "app-portage/gentoolkit package."
52 }

  ViewVC Help
Powered by ViewVC 1.1.20