/[gentoo-x86]/net-misc/elliptics-eblob/elliptics-eblob-0.0.1.ebuild
Gentoo

Contents of /net-misc/elliptics-eblob/elliptics-eblob-0.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Thu Aug 15 03:34:26 2013 UTC (6 years, 5 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +12 -12 lines
Whitespace

(Portage version: 2.2.0/cvs/Linux x86_64, unsigned Manifest commit)

1 patrick 1.3 # Copyright 1999-2013 Gentoo Foundation
2 patrick 1.2 # Distributed under the terms of the GNU General Public License v2
3 patrick 1.3 # $Header: /var/cvsroot/gentoo-x86/net-misc/elliptics-eblob/elliptics-eblob-0.0.1.ebuild,v 1.2 2012/10/24 09:38:19 patrick Exp $
4 patrick 1.2
5 patrick 1.1 EAPI=4
6     PYTHON_DEPEND="python? 2"
7    
8     inherit eutils autotools python flag-o-matic
9    
10     DESCRIPTION="The elliptics network - eblob backend"
11     HOMEPAGE="http://www.ioremap.net/projects/elliptics"
12     LICENSE="GPL-2"
13     SLOT="0"
14     KEYWORDS="~x86 ~amd64"
15     IUSE="python"
16     RDEPEND="dev-libs/openssl
17 patrick 1.3 python? ( dev-libs/boost[python] )"
18 patrick 1.1 DEPEND="${RDEPEND}"
19    
20     MY_PN="eblob"
21     SRC_URI="http://www.ioremap.net/archive/${MY_PN}/${MY_PN}-${PV}.tar.gz"
22    
23     S=${WORKDIR}/${MY_PN}-${PV}
24    
25     src_prepare(){
26 patrick 1.3 use python || sed -i 's/SUBDIRS = .*/SUBDIRS = include library/' "${S}/Makefile.am"
27     eautoreconf
28 patrick 1.1 }
29    
30     src_configure(){
31 patrick 1.3 # 'checking trying to link with boost::python... no' due '-Wl,--as-needed'
32     use python && filter-ldflags -Wl,--as-needed
33     econf \
34     --with-libatomic-path=/dev/null \
35     $(use_with python boost)
36 patrick 1.1 }
37    
38     src_install(){
39 patrick 1.3 emake install DESTDIR="${D}" || die
40     find "${D}" -name '*.la' -exec rm -f {} +
41 patrick 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20