diff options
Diffstat (limited to 'sci-mathematics/num-utils/num-utils-0.5-r1.ebuild')
-rw-r--r-- | sci-mathematics/num-utils/num-utils-0.5-r1.ebuild | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild b/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild deleted file mode 100644 index cc567101a6ba..000000000000 --- a/sci-mathematics/num-utils/num-utils-0.5-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DEB_PR=11 -DESCRIPTION="A set of programs for dealing with numbers from the command line" -HOMEPAGE="https://suso.suso.org/programs/num-utils/index.phtml" -SRC_URI=" - http://suso.suso.org/programs/num-utils/downloads/${P}.tar.gz - mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV}-${DEB_PR}.diff.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86" - -PATCHES=( - "${WORKDIR}/${PN}_${PV}-${DEB_PR}.diff" -) - -src_prepare() { - default - - sed \ - -e 's:../orig/num-utils-0.5/::g' \ - -i "${S}"/debian/patches/*.diff || die - - eapply -p0 "${S}"/debian/patches/*.diff - - local x - for x in average bound interval normalize random range round; do - mv $x num$x || die "renaming $x failed" - done - - sed \ - -e 's/^RPMDIR/#RPMDIR/' \ - -e 's/COPYING//' \ - -e 's/LICENSE//' \ - -e '/^DOCS/s/MANIFEST//' \ - -i Makefile || die "sed Makefile failed" -} - -src_install() { - emake ROOT="${ED}" install -} - -pkg_postinst() { - elog "All ${PN} programs have been renamed with prefix 'num' to avoid collisions" -} |