add app-paludis/plop
This commit is contained in:
parent
9185b2c529
commit
cb6360a7e8
4 changed files with 427 additions and 0 deletions
51
app-paludis/plop/plop-0.2.3.ebuild
Normal file
51
app-paludis/plop/plop-0.2.3.ebuild
Normal file
|
@ -0,0 +1,51 @@
|
|||
# Copyright 1999-2011 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="4"
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="A nice paludis.log parser (patched genlop)"
|
||||
HOMEPAGE="http://www.genoetigt.de/site/projects/plop"
|
||||
SRC_URI="mirror://gentoo//genlop-0.30.8.tar.gz -> ${P}.tar.gz"
|
||||
RESTRICT="nomirror"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/perl-5.8.0-r12
|
||||
>=dev-perl/DateManip-5.40
|
||||
dev-perl/libwww-perl"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
mv ${WORKDIR}/genlop-0.30.8/ ${S}
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd "${S}"
|
||||
mv genlop plop
|
||||
mv genlop.1 plop.1
|
||||
epatch "${FILESDIR}/${P}_0.30.8.patch"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin plop || die "failed to install plop (via dobin)"
|
||||
dodoc README Changelog
|
||||
doman plop.1
|
||||
newbashcomp ${FILESDIR}/plop.bash-completion plop
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "Note that plop is just a patched genlop-0.30.8. I only patched the"
|
||||
einfo "main script. The manpage, README, etc. are all original genlop"
|
||||
einfo "files, but since plop is expected to work like genlop this"
|
||||
einfo "shouldn't be a problem. so if you find see genlop somewhere, simply"
|
||||
einfo "substitute it with plop, as long as it hasn't to do anything with"
|
||||
einfo "copyright or other credits"
|
||||
|
||||
einfo "to convert old emerge.logfiles I've written a small perlscript that"
|
||||
einfo "you can download on the plop homepage"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue