summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancisco Blas Izquierdo Riera (klondike) <klondike@xiscosoft.es>2015-01-07 14:35:22 +0100
committerFrancisco Blas Izquierdo Riera (klondike) <klondike@xiscosoft.es>2015-01-07 14:35:22 +0100
commit1bf6ae5c89592866ade96358855daa07022b5523 (patch)
treeb93ab83ea9b7c2202abdaad64da233ab395b0b94 /net-misc/i2pd/i2pd-0.6.0.ebuild
parentFix library creation and multilib (for live branch only as it requires change... (diff)
downloadklondike-1bf6ae5c89592866ade96358855daa07022b5523.tar.gz
klondike-1bf6ae5c89592866ade96358855daa07022b5523.tar.bz2
klondike-1bf6ae5c89592866ade96358855daa07022b5523.zip
Remove library USE as it doesn't work the expected way
Package-Manager: portage-2.2.14 RepoMan-Options: --force Manifest-Sign-Key: 0xA5C1A1D24B128E52
Diffstat (limited to 'net-misc/i2pd/i2pd-0.6.0.ebuild')
-rw-r--r--net-misc/i2pd/i2pd-0.6.0.ebuild28
1 files changed, 9 insertions, 19 deletions
diff --git a/net-misc/i2pd/i2pd-0.6.0.ebuild b/net-misc/i2pd/i2pd-0.6.0.ebuild
index cb34044..9c4ddb1 100644
--- a/net-misc/i2pd/i2pd-0.6.0.ebuild
+++ b/net-misc/i2pd/i2pd-0.6.0.ebuild
@@ -3,7 +3,7 @@
# $Header: $
EAPI=5
-inherit eutils systemd user cmake-multilib
+inherit eutils systemd user cmake-utils
DESCRIPTION="A C++ daemon for accessing the I2P anonymous network"
HOMEPAGE="https://github.com/PrivacySolutions/i2pd"
@@ -11,12 +11,10 @@ SRC_URI="https://github.com/PrivacySolutions/${PN}/archive/${PV}.tar.gz -> ${P}.
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="aesni i2p-hardening library static"
+IUSE="aesni i2p-hardening static"
RDEPEND="!static? ( >=dev-libs/boost-1.46[threads] )
- !static? ( dev-libs/crypto++ )
- library? ( >=dev-libs/boost-1.46[threads,${MULTILIB_USEDEP}] )
- library? ( dev-libs/crypto++[${MULTILIB_USEDEP}] )"
+ !static? ( dev-libs/crypto++ )"
DEPEND="${RDEPEND}
static? ( >=dev-libs/boost-1.46[static-libs,threads] )
static? ( dev-libs/crypto++[static-libs] )
@@ -29,27 +27,19 @@ I2PD_GROUP="${I2PD_GROUP:-i2pd}"
CMAKE_USE_DIR="${S}/build"
-multilib_src_configure() {
+src_configure() {
mycmakeargs=(
$(cmake-utils_use_with aesni AESNI)
$(cmake-utils_use_with i2p-hardening HARDENING)
- $(cmake-utils_use_with library LIBRARY)
$(cmake-utils_use_with static STATIC)
- $(multilib_is_native_abi && echo -DWITH_BINARY=ON \
- || echo -DWITH_BINARY=OFF)
+ -DWITH_LIBRARY=OFF
+ -DWITH_BINARY=ON
)
- (multilib_is_native_abi || use library) && cmake-utils_src_configure
+ cmake-utils_src_configure
}
-multilib_src_compile() {
- (multilib_is_native_abi || use library) && cmake-utils_src_compile
-}
-
-multilib_src_install() {
- (multilib_is_native_abi || use library) && cmake-utils_src_install
-}
-
-multilib_src_install_all() {
+src_install() {
+ cmake-utils_src_install
dodoc README.md
doman "${FILESDIR}/${PN}.1"
keepdir /var/lib/i2pd/