diff options
Diffstat (limited to 'sci-calculators')
-rw-r--r-- | sci-calculators/datamash/Manifest | 1 | ||||
-rw-r--r-- | sci-calculators/datamash/datamash-1.2.ebuild | 41 | ||||
-rw-r--r-- | sci-calculators/datamash/files/datamash-1.2-libcrypto.patch | 10 | ||||
-rw-r--r-- | sci-calculators/datamash/metadata.xml | 3 |
4 files changed, 55 insertions, 0 deletions
diff --git a/sci-calculators/datamash/Manifest b/sci-calculators/datamash/Manifest index f3ac90df14ce..a4fb6980bde5 100644 --- a/sci-calculators/datamash/Manifest +++ b/sci-calculators/datamash/Manifest @@ -1 +1,2 @@ DIST datamash-1.1.1.tar.gz 1912118 SHA256 420819b3d7372ee3ce704add847cff7d08c4f8176c1d48735d4a632410bb801b SHA512 8932ed5ec357348108cd559acada3bfdc12ee4e360d709d74a6a661bc55f80223baa493d9185be8816b550ef86ff1f760249deb77cbeee9aa1f4178043a1938f WHIRLPOOL 7a2b3f54031c6fb7306eae986dd14213c0417e1fe815429ca071c35b86ec2123777d3d2e330ba2693de29dd317a531f0b1ad9c9c81a6b8cef69368cfa29d705a +DIST datamash-1.2.tar.gz 1922522 SHA256 e8d46fb22ccc77e5380f26cde622a733f363d388b04a2c22e7fb6de0e9d85996 SHA512 afb0960ffa881e1112394f5e0355c7a6efea13d6bdcbccb9830a6cde617e13701ca361d62c8283b7a64a27135b2f54a75970b17a7d73a5f0ba914ab70f05c086 WHIRLPOOL 0a2299a7007cb67fad14d0b73f851b5c20d13434fcc9e1a54ec11adb2d834b475abd7c596d04bcd9c801d717eaf06f80c10f8559578806ba842af7435491498a diff --git a/sci-calculators/datamash/datamash-1.2.ebuild b/sci-calculators/datamash/datamash-1.2.ebuild new file mode 100644 index 000000000000..87c7f2fe928a --- /dev/null +++ b/sci-calculators/datamash/datamash-1.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit autotools + +DESCRIPTION="command-line program for basic numeric, textual and statistical operations" +HOMEPAGE="https://www.gnu.org/software/datamash/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls openssl" + +CDEPEND=" + nls? ( sys-devel/gettext ) + openssl? ( dev-libs/openssl ) +" +RDEPEND=" + nls? ( virtual/libintl ) +" +DEPEND=" + ${CDEPEND} + ${RDEPEND} +" +PATCHES=( + "${FILESDIR}"/${PN}-1.2-libcrypto.patch +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(usex openssl --with-openssl={yes,no}) +} diff --git a/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch b/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch new file mode 100644 index 000000000000..ef1f32e9855d --- /dev/null +++ b/sci-calculators/datamash/files/datamash-1.2-libcrypto.patch @@ -0,0 +1,10 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -56,6 +56,7 @@ + $(LDEXPL_LIBM) \ + $(LIBICONV) \ + $(LIBINTL) \ ++ $(LIB_CRYPTO) \ + $(ROUND_LIBM) \ + $(ROUNDL_LIBM) \ + $(SQRT_LIBM) \ diff --git a/sci-calculators/datamash/metadata.xml b/sci-calculators/datamash/metadata.xml index 5ba62861f1c4..71dccc38c27d 100644 --- a/sci-calculators/datamash/metadata.xml +++ b/sci-calculators/datamash/metadata.xml @@ -4,4 +4,7 @@ <maintainer type="person"> <email>jer@gentoo.org</email> </maintainer> +<use> +<flag name='openssl'>Use <pkg>dev-libs/openssl</pkg> for cryptographic features</flag> +</use> </pkgmetadata> |