29 lines
709 B
Bash
29 lines
709 B
Bash
# Copyright 1999-2012 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Data-HexDump/Data-HexDump-0.02.ebuild,v 1.1 2012/10/29 08:02:39 patrick Exp $
|
|
|
|
EAPI=4
|
|
|
|
MODULE_AUTHOR=FTASSIN
|
|
MODULE_VERSION=0.02
|
|
inherit perl-module
|
|
|
|
DESCRIPTION="Data::HexDump - A Simple Hexadecial Dumper"
|
|
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~hppa ~sparc ~x86"
|
|
IUSE=""
|
|
|
|
RDEPEND="dev-lang/perl"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_unpack() {
|
|
perl-module_src_unpack
|
|
}
|
|
|
|
src_prepare() {
|
|
mv "${S}/hexdump" "${S}/hexdump.pl"
|
|
sed -i "s:hexdump:hexdump.pl:" "${S}/Makefile.PL"
|
|
sed -i "s:hexdump:hexdump.pl:" "${S}/MANIFEST"
|
|
sed -i "s:hexdump:hexdump.pl:" "${S}/hexdump.pl"
|
|
}
|