/[gentoo-x86]/net-misc/i2pd/i2pd-9999.ebuild
Gentoo

Diff of /net-misc/i2pd/i2pd-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2015 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/i2pd/i2pd-9999.ebuild,v 1.1 2015/01/08 22:44:46 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/i2pd/i2pd-9999.ebuild,v 1.2 2015/02/02 17:06:04 mgorny Exp $
4 4
5EAPI=5 5EAPI=5
6inherit eutils systemd user git-2 cmake-multilib 6inherit eutils systemd user git-2 cmake-multilib
7 7
8DESCRIPTION="A C++ daemon for accessing the I2P anonymous network" 8DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
10SRC_URI="" 10SRC_URI=""
11EGIT_REPO_URI="git://github.com/PrivacySolutions/i2pd" 11EGIT_REPO_URI="git://github.com/PrivacySolutions/i2pd"
12LICENSE="GPL-2" 12LICENSE="GPL-2"
13SLOT="0" 13SLOT="0"
14KEYWORDS="" 14KEYWORDS=""
15IUSE="aesni i2p-hardening library static" 15IUSE="cpu_flags_x86_aes i2p-hardening library static"
16 16
17RDEPEND="!static? ( >=dev-libs/boost-1.46[threads] ) 17RDEPEND="!static? ( >=dev-libs/boost-1.46[threads] )
18 !static? ( dev-libs/crypto++ ) 18 !static? ( dev-libs/crypto++ )
19 library? ( >=dev-libs/boost-1.46[threads,${MULTILIB_USEDEP}] ) 19 library? ( >=dev-libs/boost-1.46[threads,${MULTILIB_USEDEP}] )
20 library? ( dev-libs/crypto++[${MULTILIB_USEDEP}] )" 20 library? ( dev-libs/crypto++[${MULTILIB_USEDEP}] )"
30 30
31CMAKE_USE_DIR="${S}/build" 31CMAKE_USE_DIR="${S}/build"
32 32
33multilib_src_configure() { 33multilib_src_configure() {
34 mycmakeargs=( 34 mycmakeargs=(
35 $(cmake-utils_use_with aesni AESNI) 35 $(cmake-utils_use_with cpu_flags_x86_aes AESNI)
36 $(cmake-utils_use_with i2p-hardening HARDENING) 36 $(cmake-utils_use_with i2p-hardening HARDENING)
37 $(cmake-utils_use_with library LIBRARY) 37 $(cmake-utils_use_with library LIBRARY)
38 $(cmake-utils_use_with static STATIC) 38 $(cmake-utils_use_with static STATIC)
39 $(multilib_is_native_abi && echo -DWITH_BINARY=ON \ 39 $(multilib_is_native_abi && echo -DWITH_BINARY=ON \
40 || echo -DWITH_BINARY=OFF) 40 || echo -DWITH_BINARY=OFF)

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20