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

Contents of /net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Dec 17 13:58:05 2011 UTC (2 years, 4 months ago) by blueness
Branch: MAIN
Rev bump, bugs 395039, 395041, 395043

(Portage version: 2.1.10.11/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20