/[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 - (show annotations) (download)
Thu Aug 15 03:34:26 2013 UTC (6 years, 4 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 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
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
5 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 python? ( dev-libs/boost[python] )"
18 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 use python || sed -i 's/SUBDIRS = .*/SUBDIRS = include library/' "${S}/Makefile.am"
27 eautoreconf
28 }
29
30 src_configure(){
31 # '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 }
37
38 src_install(){
39 emake install DESTDIR="${D}" || die
40 find "${D}" -name '*.la' -exec rm -f {} +
41 }

  ViewVC Help
Powered by ViewVC 1.1.20