diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-01-31 21:09:03 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-02-01 15:40:17 +1300 |
commit | 5c9e04c9f0e5e090b1cf9344c169bb2f0211643c (patch) | |
tree | 232a17e72963a5a493e119c598e87ec7d5499e81 /app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.1.0.ebuild | |
parent | 4bdbda7475a375679eeae7074a401f6b4d1e0f95 (diff) | |
download | gentoo-5c9e04c9f0e5e090b1cf9344c169bb2f0211643c.tar.gz gentoo-5c9e04c9f0e5e090b1cf9344c169bb2f0211643c.tar.xz |
app-admin/gentoo-perl-helpers: Add initial 0.1.0 version
This is still really new, please give feedback.
Esepcially as I suck at bash and man pages still
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.1.0.ebuild')
-rw-r--r-- | app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.1.0.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.1.0.ebuild b/app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.1.0.ebuild new file mode 100644 index 00000000000..0062758cdaa --- /dev/null +++ b/app-admin/gentoo-perl-helpers/gentoo-perl-helpers-0.1.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Introspection and Upgrade Assistance tools for Gentoo Perl" +HOMEPAGE="https://github.com/gentoo-perl/gentoo-perl-helpers" +SRC_URI="https://github.com/gentoo-perl/${PN}/releases/download/${PV}/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Assumed System: +# sys-apps/coreutils +# sys-apps/grep +# sys-apps/findutils +# sys-apps/sed +# app-shells/bash + +RDEPEND=" + app-portage/portage-utils + sys-apps/portage +" +DEPEND="" + +S="${WORKDIR}" +src_prepare() { + sed -i -e "s^@@LIBDIR@@^${EPREFIX}/usr/lib/gentoo-perl-helpers^g" \ + -e "s^@@LIBEXECDIR@@^${EPREFIX}/usr/libexec/gentoo-perl-helpers^g" \ + "${S}/bin/gentoo-perl" || die "Can't patch bin/gentoo-perl" + default +} +src_compile() { :; } +src_install() { + exeinto /usr/bin + doexe "${S}/bin/"* + + exeinto /usr/libexec/gentoo-perl-helpers + doexe "${S}/libexec/"* + + insinto /usr/lib/gentoo-perl-helpers + doins "${S}/lib/"* + + dodoc "${S}/README.mkdn" +} |