2016-02-25 22:21:00 +00:00
|
|
|
# Copyright 2016 Julian Ospald <hasufell@posteo.de>
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
|
2016-04-22 15:42:34 +00:00
|
|
|
require github [ user=divVerent tag=v${PV} ]
|
2016-02-25 22:21:00 +00:00
|
|
|
|
|
|
|
SUMMARY="Blind-ID library for user identification using RSA blind signatures"
|
|
|
|
HOMEPAGE="http://git.xonotic.org/?p=xonotic/d0_blind_id.git;a=summary"
|
|
|
|
|
2016-02-25 22:23:07 +00:00
|
|
|
LICENCES="BSD-3"
|
2016-02-25 22:21:00 +00:00
|
|
|
SLOT="0"
|
|
|
|
PLATFORMS="~amd64 ~x86"
|
|
|
|
MYOPTIONS=""
|
|
|
|
|
|
|
|
DEPENDENCIES="
|
|
|
|
build:
|
|
|
|
virtual/pkg-config
|
|
|
|
build+run:
|
|
|
|
dev-libs/gmp:=
|
|
|
|
"
|
|
|
|
|
|
|
|
DEFAULT_SRC_INSTALL_EXTRA_DOCS=( d0_blind_id.txt )
|
|
|
|
|
|
|
|
DEFAULT_SRC_CONFIGURE_PARAMS=(
|
|
|
|
--enable-rijndael
|
|
|
|
--without-openssl
|
|
|
|
--without-tommath
|
|
|
|
)
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
# fix out-of-source build
|
|
|
|
edo sed -i \
|
|
|
|
-e 's, d0_rijndael.c, "$srcdir/d0_rijndael.c",' \
|
|
|
|
configure.ac
|
|
|
|
autotools_src_prepare
|
|
|
|
}
|
|
|
|
|