blob: 8c28cb7dd7fa145cad22fd01962f7e9e6c9bece3 [file] [log] [blame]
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
MODULE_AUTHOR=YVES
MODULE_VERSION=2.36
inherit perl-module
DESCRIPTION="Accurately serialize a data structure as Perl code"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~x86"
IUSE="test"
RDEPEND=">=dev-perl/B-Utils-0.07"
DEPEND="${RDEPEND}
dev-perl/Module-Build
test? (
dev-perl/JSON-XS
)
"
SRC_TEST=do
src_prepare() {
# Add DDS.pm shortcut
echo 'yes' > "${S}"/.answer
perl-module_src_prepare
}