/[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.2 - (hide annotations) (download)
Wed Feb 1 11:19:55 2012 UTC (2 years, 8 months ago) by ssuominen
Branch: MAIN
Changes since 1.1: +3 -7 lines
Keyword ~ppc/~ppc64 wrt #400929; required by net-p2p/transmission

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 ssuominen 1.2 # Copyright 1999-2012 Gentoo Foundation
2 blueness 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.2 # $Header: /var/cvsroot/gentoo-x86/net-libs/libnatpmp/libnatpmp-20110808-r1.ebuild,v 1.1 2011/12/17 13:58:05 blueness Exp $
4 blueness 1.1
5     EAPI=4
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 ssuominen 1.2 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
15 blueness 1.1 IUSE="static-libs"
16    
17     src_prepare() {
18     epatch "${FILESDIR}"/respect-FLAGS.patch
19     epatch "${FILESDIR}"/respect-libdir.patch
20     use !static-libs && epatch "${FILESDIR}"/remove-static-lib.patch
21     }
22    
23     src_compile() {
24     emake CC="$(tc-getCC)"
25     }
26    
27     src_install() {
28     emake PREFIX="${D}" GENTOO_LIBDIR="$(get_libdir)" install
29    
30     dodoc Changelog.txt README
31     doman natpmpc.1
32     }

  ViewVC Help
Powered by ViewVC 1.1.20