diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-07-29 00:49:07 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2021-07-29 00:55:50 +0200 |
commit | fb796e82e12a5c13d8c8b1093e4e0d460ca5d302 (patch) | |
tree | efda4d7e203d046ea37d50687b73e24ff4f4657a /dev-perl/Alien-HDF4 | |
parent | media-libs/gst-plugins-bad: block media-plugins/gst-transcoder (diff) | |
download | gentoo-fb796e82e12a5c13d8c8b1093e4e0d460ca5d302.tar.gz gentoo-fb796e82e12a5c13d8c8b1093e4e0d460ca5d302.tar.bz2 gentoo-fb796e82e12a5c13d8c8b1093e4e0d460ca5d302.zip |
dev-perl/Alien-HDF4: New package, needed by dev-perl/PDL
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
Diffstat (limited to 'dev-perl/Alien-HDF4')
-rw-r--r-- | dev-perl/Alien-HDF4/Alien-HDF4-0.50.0.ebuild | 27 | ||||
-rw-r--r-- | dev-perl/Alien-HDF4/Manifest | 1 | ||||
-rw-r--r-- | dev-perl/Alien-HDF4/files/Alien-HDF4-0.50.0-shared.patch | 32 | ||||
-rw-r--r-- | dev-perl/Alien-HDF4/metadata.xml | 8 |
4 files changed, 68 insertions, 0 deletions
diff --git a/dev-perl/Alien-HDF4/Alien-HDF4-0.50.0.ebuild b/dev-perl/Alien-HDF4/Alien-HDF4-0.50.0.ebuild new file mode 100644 index 000000000000..6ecb7127c2db --- /dev/null +++ b/dev-perl/Alien-HDF4/Alien-HDF4-0.50.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DIST_VERSION=0.05 +DIST_AUTHOR=ETJ +inherit perl-module + +DESCRIPTION="Encapsulate install info for HDF4" + +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + sci-libs/hdf +" + +DEPEND="${RDEPEND} +" + +BDEPEND="${RDEPEND} + >=dev-perl/ExtUtils-Depends-0.402.0 + dev-perl/IO-All +" + +PATCHES=( "${FILESDIR}/${P}-shared.patch" ) diff --git a/dev-perl/Alien-HDF4/Manifest b/dev-perl/Alien-HDF4/Manifest new file mode 100644 index 000000000000..057f53eb26f1 --- /dev/null +++ b/dev-perl/Alien-HDF4/Manifest @@ -0,0 +1 @@ +DIST Alien-HDF4-0.05.tar.gz 3408 BLAKE2B af2d7d924712c2f520b391c897172a5116f4bded164a9249270aa5eb130a0d0a95939591a0002115c9f07c4da89f6c1ab31411a6daf666f2d7f7f6b4b214665a SHA512 1c9a81a7cdb74ef86c9d0a295b9f7143d207f0b9afd19047592990c173889d1ee7cd5a33c5a6e0970cbec65af7dfd40a66fe122a32ce5864b3a461577e1754bb diff --git a/dev-perl/Alien-HDF4/files/Alien-HDF4-0.50.0-shared.patch b/dev-perl/Alien-HDF4/files/Alien-HDF4-0.50.0-shared.patch new file mode 100644 index 000000000000..ffeabcf5b29e --- /dev/null +++ b/dev-perl/Alien-HDF4/files/Alien-HDF4-0.50.0-shared.patch @@ -0,0 +1,32 @@ +diff -ruN Alien-HDF4-0.05.orig/common.pl Alien-HDF4-0.05/common.pl +--- Alien-HDF4-0.05.orig/common.pl 2019-04-27 03:01:25.000000000 +0200 ++++ Alien-HDF4-0.05/common.pl 2021-07-29 00:47:09.923447920 +0200 +@@ -36,13 +36,13 @@ + foreach my $libdir ( @HDF_lib_locations ) { + return ( + $libdir, '-lmfhdfalt -ldfalt', +- ) if -e "$libdir/libdfalt.a"; ++ ) if -e "$libdir/libdfalt.$Config{so}"; + return ( + $libdir, '-lmfhdf -ldf', +- ) if -e "$libdir/libdf.a"; ++ ) if -e "$libdir/libdf.$Config{so}"; + return ( + $libdir, '-lmfhdf -lhdf -lxdr', +- ) if -e "$libdir/libhdf.a"; ++ ) if -e "$libdir/libhdf.$Config{so}"; + } + return; + } +diff -ruN Alien-HDF4-0.05.orig/Makefile.PL Alien-HDF4-0.05/Makefile.PL +--- Alien-HDF4-0.05.orig/Makefile.PL 2019-04-27 02:53:52.000000000 +0200 ++++ Alien-HDF4-0.05/Makefile.PL 2021-07-29 00:46:34.395073467 +0200 +@@ -7,7 +7,7 @@ + + my ($libpath, $libs) = findlibs(); + die <<EOF unless defined $libpath; +-Cannot find hdf library, libdf.a. ++Cannot find hdf library, libdf.$Config{so}. + Please add the correct library path to Makefile.PL or install HDF + EOF + diff --git a/dev-perl/Alien-HDF4/metadata.xml b/dev-perl/Alien-HDF4/metadata.xml new file mode 100644 index 000000000000..8ad3d950c4bd --- /dev/null +++ b/dev-perl/Alien-HDF4/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>perl@gentoo.org</email> + <name>Gentoo Perl Project</name> + </maintainer> +</pkgmetadata> |