/[gentoo-x86]/net-libs/libnatpmp/libnatpmp-20130911.ebuild
Gentoo

Contents of /net-libs/libnatpmp/libnatpmp-20130911.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Sep 13 11:06:31 2013 UTC (15 months, 1 week ago) by blueness
Branch: MAIN
Changes since 1.1: +2 -2 lines
Fix USE=-static-libs, bug #484692

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

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/libnatpmp/libnatpmp-20130911.ebuild,v 1.1 2013/09/12 17:23:56 blueness Exp $
4
5 EAPI="5"
6 inherit eutils toolchain-funcs multilib
7
8 DESCRIPTION="An alternative protocol to UPnP IGD specification"
9 HOMEPAGE="http://miniupnp.free.fr/libnatpmp.html"
10 SRC_URI="http://miniupnp.free.fr/files/download.php?file=${P}.tar.gz -> ${P}.tar.gz"
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
15 IUSE="static-libs"
16
17 src_prepare() {
18 epatch "${FILESDIR}"/respect-FLAGS-${PV}.patch
19 epatch "${FILESDIR}"/respect-libdir-20120821.patch
20 use static-libs || epatch "${FILESDIR}"/remove-static-lib-${PV}.patch
21 tc-export CC
22 }
23
24 src_install() {
25 emake PREFIX="${D}" GENTOO_LIBDIR="$(get_libdir)" install
26
27 dodoc Changelog.txt README
28 doman natpmpc.1
29 }

  ViewVC Help
Powered by ViewVC 1.1.20