hasufell-repository/packages/dev-libs/d0_blind_id/d0_blind_id-0.5.exheres-0

38 lines
874 B
Bash

# 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 ] ]
require github [ user=divVerent tag=v${PV} ]
SUMMARY="Blind-ID library for user identification using RSA blind signatures"
HOMEPAGE="http://git.xonotic.org/?p=xonotic/d0_blind_id.git;a=summary"
LICENCES="BSD-3"
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
}