mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-util/numdiff: Initial commit, move from science overlay
Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
1
dev-util/numdiff/Manifest
Normal file
1
dev-util/numdiff/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST numdiff-5.9.0.tar.gz 915117 SHA256 87284a117944723eebbf077f857a0a114d818f8b5b54d289d59e73581194f5ef SHA512 7be7aad30afbb2a964046815807be0d9149edd18364660443220ce7032248cf83bf840eaf89e19193c8c68ad075cfa81759301574ed73151526e4eea34d33f86 WHIRLPOOL b3fd89d4d4941dc2097aaef64b4a154618b1fdf6ebe72286f36b52464fd2fe222ae171401923ed96371244a00e584d4030a9c5f3bcfb67e2dc6164a4736406c7
|
||||
19
dev-util/numdiff/metadata.xml
Normal file
19
dev-util/numdiff/metadata.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>tamiko@gentoo.org</email>
|
||||
<name>Matthias Maier</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>sci@gentoo.org</email>
|
||||
<name>Gentoo Science Project</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
numdiff is a program that can be used to compare putatively similar files
|
||||
line by line and field by field, ignoring small numeric differences
|
||||
or/and different numeric formats. Equivalently, numdiff is a program with
|
||||
the capability to appropriately compare files containing numerical fields
|
||||
(and not only).
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
||||
40
dev-util/numdiff/numdiff-5.9.0.ebuild
Normal file
40
dev-util/numdiff/numdiff-5.9.0.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="File comparision, ignoring small numeric differences and formats"
|
||||
HOMEPAGE="http://www.nongnu.org/numdiff/"
|
||||
SRC_URI="http://savannah.nongnu.org/download/numdiff/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+nls +gmp"
|
||||
|
||||
RDEPEND="
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
nls? ( sys-devel/gettext )
|
||||
!dev-util/ndiff"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable gmp)
|
||||
$(use_enable nls)
|
||||
--enable-optimization
|
||||
)
|
||||
econf ${myeconfargs[@]}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# Remove some empty folders:
|
||||
rm -r "${ED}"/usr/share/locale || die
|
||||
|
||||
#Fix up wrong installation paths:
|
||||
mv "${ED}"/usr/share/doc/${P}/{numdiff/numdiff.{html,pdf,txt*},} || die
|
||||
rm -r "${ED}"/usr/share/doc/${P}/numdiff || die
|
||||
}
|
||||
Reference in New Issue
Block a user