You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
584 B
30 lines
584 B
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
DIST_AUTHOR=TODDR
|
|
DIST_VERSION=0.99
|
|
DIST_EXAMPLES=("examples/*")
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="Tie to CDB (Bernstein's constant DB) files"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE="test"
|
|
RESTRICT="!test? ( test )"
|
|
|
|
RDEPEND=""
|
|
DEPEND="virtual/perl-ExtUtils-MakeMaker
|
|
test? ( virtual/perl-Test-Simple )
|
|
"
|
|
|
|
src_prepare() {
|
|
mkdir "${S}/examples"
|
|
einfo "Moving bun-x.pl to examples/"
|
|
cp "${S}/bun-x.pl" "${S}/examples/"
|
|
perl_rm_files bun-x.pl
|
|
perl-module_src_prepare
|
|
}
|