/[gentoo-x86]/dev-libs/jrtplib/jrtplib-3.7.1-r1.ebuild
Gentoo

Contents of /dev-libs/jrtplib/jrtplib-3.7.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jul 23 15:01:32 2009 UTC (4 years, 8 months ago) by volkmar
Branch: MAIN
Fix gcc-4.4 compilation issue. Move to EAPI-2. Cleaning. Fix bug 277762.
(Portage version: 13845-svn/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/jrtplib/jrtplib-3.7.1.ebuild,v 1.2 2008/12/16 08:38:15 pva Exp $
4
5 EAPI="2"
6
7 inherit eutils
8
9 DESCRIPTION="JRTPLIB is an object-oriented RTP library written in C++."
10 HOMEPAGE="http://research.edm.luc.ac.be/jori/jrtplib/jrtplib.html"
11 SRC_URI="http://research.edm.luc.ac.be/jori/${PN}/${P}.tar.bz2"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="examples ipv6"
17
18 RDEPEND="dev-libs/jthread"
19 DEPEND="${RDEPEND}"
20
21 src_prepare() {
22 # do not compile examples
23 sed -i -e "s/examples //" Makefile.in || die "sed failed"
24 epatch "${FILESDIR}"/${P}-gcc43.patch
25 epatch "${FILESDIR}"/${P}-gcc-4.4.patch
26 }
27
28 src_configure() {
29 econf $(use_enable ipv6 IPv6)
30 }
31
32 src_install() {
33 emake DESTDIR="${D}" install || die "emake install failed"
34 dodoc ChangeLog README.TXT TODO || die "dodoc failed"
35
36 if use examples; then
37 insinto /usr/share/${PN}/examples
38 doins examples/*.cpp || die "doins failed"
39 fi
40 }

  ViewVC Help
Powered by ViewVC 1.1.20