mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-apps/moreutils: drop 0.66
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST moreutils-0.66.tar.gz 93387 BLAKE2B 783ed558f0f77c2b384a1aa8852243242ce24e44e40b58f92e2179308df9cc3a27142820a7743c25ba4529a4b7ea7ae20c1fc02b86324638a7d13ad7536c6b21 SHA512 6c5f8b677d9912cf4e7aabf442361c89d23767f2a5df0a2c29ab72314e1ed3767a0a7a7abaa5044cf73ef877184d16e1d58e340780971e9e1299857756aca6a3
|
||||
DIST moreutils-0.67.tar.gz 93627 BLAKE2B 4b8788411f1300ccffa10a52a327ee676b2a241531dafc2106495977ffd29a5b32c91c0afb6425b5797bfea04fa98a3cfd69e034cffc2fb255f5e8505d3b3474 SHA512 3a395fa80c1c1d769ec078cbf9455952201a364d8264796c6443a397ed7fa4f08250ecd140f047cf2e9533d6fc5310b3a579a7c083a5bc4cb4672d39c35dab75
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="A collection of tools that nobody thought to write when Unix was young"
|
||||
HOMEPAGE="https://joeyh.name/code/moreutils/ https://git.joeyh.name/index.cgi/moreutils.git/"
|
||||
# Not available at time of release
|
||||
#SRC_URI="mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}.orig.tar.xz"
|
||||
SRC_URI="https://git.joeyh.name/index.cgi/moreutils.git/snapshot/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ppc ~ppc64 x86 ~x86-linux ~x64-macos"
|
||||
IUSE="+doc +perl"
|
||||
|
||||
RDEPEND="
|
||||
app-admin/eselect
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/IPC-Run
|
||||
dev-perl/Time-Duration
|
||||
dev-perl/TimeDate
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
doc? (
|
||||
>=app-text/docbook2X-0.8.8-r2
|
||||
app-text/docbook-xml-dtd:4.4
|
||||
dev-lang/perl
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.64-respect-env.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# don't build manpages
|
||||
if ! use doc ; then
|
||||
sed -i -e '/^all:/s/$(MANS)//' -e '/man1/d' Makefile || die
|
||||
fi
|
||||
|
||||
# don't install perl scripts
|
||||
if ! use perl ; then
|
||||
sed -i -e '/PERLSCRIPTS/d' Makefile || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake CFLAGS="${CFLAGS}" DOCBOOKXSL="${EPREFIX}"/usr/share/sgml/docbook/xsl-stylesheets PREFIX="${EPREFIX}/usr"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" INSTALL_BIN=install install
|
||||
|
||||
# sys-process is more advanced than parallel from moreutils, rename it
|
||||
if use doc; then
|
||||
mv "${ED}"/usr/share/man/man1/{,${PN}_}parallel.1 || die
|
||||
fi
|
||||
|
||||
mv "${ED}"/usr/bin/{,${PN}_}parallel || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Try to make sure $EDITOR is valid for vipe (bug #604630)
|
||||
eselect editor update
|
||||
}
|
||||
Reference in New Issue
Block a user