/[gentoo-x86]/net-libs/libbt/libbt-1.05.ebuild
Gentoo

Contents of /net-libs/libbt/libbt-1.05.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Mon Jul 12 20:14:36 2010 UTC (2 years, 11 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -2 lines
Version bump wrt #299070. Fix file-collision with blackbox by renaming libbt.a to libbt-static.a wrt #298532. Change legacy e2fsprogs depend to util-linux for -luuid.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 hwoarang 1.5 # Copyright 1999-2010 Gentoo Foundation
2 mkay 1.1 # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.6 # $Header: /var/cvsroot/gentoo-x86/net-libs/libbt/libbt-1.05.ebuild,v 1.5 2010/06/20 11:47:11 hwoarang Exp $
4 mkay 1.1
5 hwoarang 1.5 inherit eutils autotools
6 mkay 1.1
7 vapier 1.4 DESCRIPTION="implementation of the BitTorrent core protocols in C"
8     HOMEPAGE="http://libbt.sourceforge.net/"
9 mkay 1.1 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10 vapier 1.4
11     LICENSE="GPL-2"
12 mkay 1.1 SLOT="0"
13 armin76 1.2 KEYWORDS="~amd64 ~ppc x86"
14 mkay 1.1 IUSE=""
15    
16     DEPEND="dev-libs/openssl
17     net-misc/curl
18 ssuominen 1.6 >=sys-apps/util-linux-2.16.2
19     !x11-wm/blackbox"
20 mkay 1.1
21 armin76 1.2 src_unpack() {
22     unpack ${A}
23     cd "${S}"
24 vapier 1.4 epatch "${FILESDIR}"/${P}-build.patch #248034
25 armin76 1.2 epatch "${FILESDIR}"/${PV}-btlist.patch # 152489
26 vapier 1.4 sed -i -e '/CFLAGS/s|:=|+=|' src/Makefile.in || die
27 hwoarang 1.5 # fix force as-needed. Bug #315213
28     sed -i -e "/^LIBS/s:-lm:& -lcrypto:" src/Makefile.in || die
29     eautoreconf
30 armin76 1.2 }
31    
32 vapier 1.4 src_install() {
33     dobin src/btlist src/btget src/btcheck || die
34 mkay 1.1 doman man/*
35     insinto /usr/include/libbt
36     doins include/*
37     dolib src/libbt.a
38 vapier 1.4 dodoc CHANGELOG CREDITS README docs/*
39 mkay 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20