unitas/dev-perl/Archive-Rar/Archive-Rar-2.02.ebuild

29 lines
596 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
MODULE_AUTHOR=SMUELLER
MODULE_VERSION=2.02
inherit perl-module
DESCRIPTION="Perl module for creation and manipulation of rar files"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RDEPEND="app-arch/rar
dev-perl/IPC-Run"
DEPEND="${RDEPEND}
dev-perl/Module-Build"
SRC_TEST=do
src_prepare() {
sed -i -e 's/use inc::Module::Install;/use lib q[.]; use inc::Module::Install;/' Makefile.PL ||
die "Can't patch Makefile.PL for 5.26 dot-in-inc"
perl-module_src_prepare
}