23 lines
477 B
Bash
23 lines
477 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
|
|
MODULE_AUTHOR=AMS
|
|
MODULE_VERSION=1.00
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="The GOST Encryption Algorithm"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
IUSE="test"
|
|
|
|
SRC_TEST=do
|
|
|
|
src_prepare() {
|
|
sed -i -e 's/if (SvREADONLY(output) || !SvUPGRADE(output, SVt_PV))/SvUPGRADE(output, SVt_PV);\n if (SvREADONLY(output))/' GOST.xs || die
|
|
perl-module_src_prepare
|
|
}
|