| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/Attic/moreutils-0.45-r1.ebuild,v 1.8 2012/07/08 15:19:43 jer Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/moreutils/Attic/moreutils-0.45-r1.ebuild,v 1.9 2012/08/25 22:35:15 vapier Exp $ |
| 4 | |
4 | |
| 5 | EAPI=4 |
5 | EAPI=4 |
| 6 | inherit eutils toolchain-funcs prefix |
6 | inherit eutils toolchain-funcs prefix |
| 7 | |
7 | |
| 8 | DESCRIPTION="a growing collection of the unix tools that nobody thought to write thirty years ago" |
8 | DESCRIPTION="a growing collection of the unix tools that nobody thought to write thirty years ago" |
| … | |
… | |
| 53 | src_install() { |
53 | src_install() { |
| 54 | emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INSTALL_BIN=install install |
54 | emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INSTALL_BIN=install install |
| 55 | |
55 | |
| 56 | # sys-process is more advanced than parallel from moreutils, rename it |
56 | # sys-process is more advanced than parallel from moreutils, rename it |
| 57 | if use doc; then |
57 | if use doc; then |
| 58 | mv -vf "${ED}"usr/share/man/man1/{,${PN}_}parallel.1 || die |
58 | mv "${ED}"usr/share/man/man1/{,${PN}_}parallel.1 || die |
| 59 | fi |
59 | fi |
| 60 | mv -vf "${ED}"usr/bin/{,${PN}_}parallel || die |
60 | mv "${ED}"usr/bin/{,${PN}_}parallel || die |
| 61 | } |
61 | } |