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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Jun 10 13:27:58 2015 UTC (3 years, 2 months ago) by blueness
Branch: MAIN
CVS Tags: HEAD
Version bump.

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

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/libnatpmp/libnatpmp-20140401-r1.ebuild,v 1.1 2014/04/05 13:13:04 ssuominen 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-20140401.patch
19 epatch "${FILESDIR}"/respect-libdir-20120821.patch
20 use static-libs || epatch "${FILESDIR}"/remove-static-lib-20130911.patch
21 tc-export CC
22 }
23
24 src_install() {
25 # Override HEADERS for missing declspec.h wrt #506832
26 emake HEADERS='declspec.h natpmp.h' PREFIX="${D}" GENTOO_LIBDIR="$(get_libdir)" install
27
28 dodoc Changelog.txt README
29 doman natpmpc.1
30 }

  ViewVC Help
Powered by ViewVC 1.1.20