summaryrefslogtreecommitdiff
path: root/dev-libs/d0_blind_id
diff options
context:
space:
mode:
authorBlackNoxis <steven.darklight@gmail.com>2014-11-07 12:54:17 +0200
committerBlackNoxis <steven.darklight@gmail.com>2014-11-07 12:54:17 +0200
commit5a01792340999d37435f5000a3f6b8e0f2d11815 (patch)
tree4bcca1f73cc4ab721b3c31ea81585917f909ebc7 /dev-libs/d0_blind_id
parent86c8d1f28bd2b785ccbb28f41c4e0763d062ba2f (diff)
Added the full elimination of sabayon-version
Diffstat (limited to 'dev-libs/d0_blind_id')
-rw-r--r--dev-libs/d0_blind_id/d0_blind_id-9999.ebuild50
1 files changed, 50 insertions, 0 deletions
diff --git a/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild b/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild
new file mode 100644
index 00000000..4dac682b
--- /dev/null
+++ b/dev-libs/d0_blind_id/d0_blind_id-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+EGIT_REPO_URI="git://git.xonotic.org/xonotic/${PN}.git"
+
+[[ ${PV} == *9999 ]] && SCM="autotools git-2"
+inherit base ${SCM}
+unset SCM
+
+DESCRIPTION="Blind-ID library for user identification using RSA blind signatures"
+HOMEPAGE="http://git.xonotic.org/?p=xonotic/d0_blind_id.git;a=summary"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+crypt openssl static-libs"
+
+RDEPEND="
+ !openssl? ( dev-libs/gmp )
+ openssl? ( dev-libs/openssl )
+"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+"
+
+pkg_setup() {
+ use crypt || ewarn "You will have no encryption, only authentication."
+ use openssl && ewarn "OpenSSL is for Mac OS X users only, GMP is faster."
+}
+
+src_prepare() {
+ base_src_prepare
+ [[ ${PV} == *9999 ]] && eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable crypt rijndael) \
+ $(use_with openssl) \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+
+ dodoc d0_blind_id.txt
+}