diff options
author | 2023-09-15 10:04:41 +0200 | |
---|---|---|
committer | 2023-09-15 10:04:41 +0200 | |
commit | 83cdebeffe1c3b2af2bc8dd85d85a1abf921b7ba (patch) | |
tree | 95b737620390a7130d09f0b3fa66051d501ce8f4 /net-libs | |
parent | sci-libs/rosetta-db: treeclean (diff) | |
download | gentoo-83cdebeffe1c3b2af2bc8dd85d85a1abf921b7ba.tar.gz gentoo-83cdebeffe1c3b2af2bc8dd85d85a1abf921b7ba.tar.bz2 gentoo-83cdebeffe1c3b2af2bc8dd85d85a1abf921b7ba.zip |
net-libs/nativebiginteger: treeclean
Closes: https://bugs.gentoo.org/906882
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/nativebiginteger/Manifest | 2 | ||||
-rw-r--r-- | net-libs/nativebiginteger/metadata.xml | 15 | ||||
-rw-r--r-- | net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild | 67 | ||||
-rw-r--r-- | net-libs/nativebiginteger/nativebiginteger-2.1.0.ebuild | 71 |
4 files changed, 0 insertions, 155 deletions
diff --git a/net-libs/nativebiginteger/Manifest b/net-libs/nativebiginteger/Manifest deleted file mode 100644 index 554a7e1c6f78..000000000000 --- a/net-libs/nativebiginteger/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST i2psource_1.6.1.tar.bz2 33043548 BLAKE2B dd7394ec596b016e76e9d74ee06c5db12bce50a859b0bd1194b0d3dd30cb1c2b9116abf3fdf9847c0b89b71a2a2b553f999fd29901567ddd5e4462c43d25c866 SHA512 c7c26ce10e159bc1f46b55ad2ef9773f24cb647d2ac01ff6acbb08c7020cb488fd1aeb9bb2d50122d2e87e0606f8fe46d2cc4360fa5df62bb1e9af0ce5e9a52a -DIST i2psource_2.1.0.tar.bz2 32817295 BLAKE2B d37463522143c02e04c96d58578312b536ab5e2842e5647dbe5ba3d5c139329c447f16de7e326ef48ef4c6b3c11631e23300b5327cc31d9da5288240f86c926f SHA512 e8639c2b2869d3c7856b598d4cd3505458ed5cab5dce3570cafdaec3ccd77dbaec35787cccc6782acc75adb423b7baaab724ac3c98e5b91b41cf4c76f3614355 diff --git a/net-libs/nativebiginteger/metadata.xml b/net-libs/nativebiginteger/metadata.xml deleted file mode 100644 index 43ca1801042d..000000000000 --- a/net-libs/nativebiginteger/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person" proxied="yes"> - <email>tharvik@gmail.com</email> - <name>Valérian Rousset</name> - </maintainer> - <maintainer type="project" proxied="proxy"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <upstream> - <remote-id type="github">hyphanet/contrib</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild b/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild deleted file mode 100644 index 2a18973b1659..000000000000 --- a/net-libs/nativebiginteger/nativebiginteger-1.6.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 2018-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit java-pkg-2 toolchain-funcs - -DESCRIPTION="jbigi library used by net-vpn/i2p" -HOMEPAGE="https://geti2p.net" -SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="amd64 ~arm ~x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=" - dev-libs/gmp:0= - virtual/jdk:1.8 -" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/i2p-${PV}/core" - -src_compile() { - local compile_lib - compile_lib() { - local name="${1}" - local file="${2}" - shift 2 - - "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \ - ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \ - "${file}" -o "lib${name}.so" - } - - cd "${S}/c/jbigi/jbigi" || die "unable to cd to jbigi" - compile_lib jbigi src/jbigi.c -Iinclude -lgmp || - die "unable to build jbigi" - - if use amd64 || use x86; then - cd "${S}/c/jcpuid" || die "unable to cd to jcpuid" - compile_lib jcpuid src/jcpuid.c -Iinclude || - die "unable to build jcpuid" - fi - - if use test; then - cd "${S}/java/src" || die "unable to cd to java/src" - ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java || - die "unable to build tests" - fi -} - -src_test() { - cd "${S}/java/src" || die "unable to cd to java/src" - "$(java-config -J)" -Djava.library.path="${S}/c/jbigi/jbigi" net/i2p/util/NativeBigInteger || - die "unable to pass tests" -} - -src_install() { - dolib.so c/jbigi/jbigi/libjbigi.so - - if use amd64 || use x86; then - dolib.so c/jcpuid/libjcpuid.so - fi -} diff --git a/net-libs/nativebiginteger/nativebiginteger-2.1.0.ebuild b/net-libs/nativebiginteger/nativebiginteger-2.1.0.ebuild deleted file mode 100644 index ac10184a706c..000000000000 --- a/net-libs/nativebiginteger/nativebiginteger-2.1.0.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 2018-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -JAVA_PKG_IUSE="test" - -inherit java-pkg-2 toolchain-funcs - -DESCRIPTION="jbigi library used by net-vpn/i2p" -HOMEPAGE="https://geti2p.net" -SRC_URI="https://files.i2p-projekt.de/${PV}/i2psource_${PV}.tar.bz2" - -LICENSE="public-domain" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~x86" - -DEPEND=" - dev-libs/gmp:0= - >=virtual/jdk-1.8:* -" -RDEPEND=" - >=virtual/jre-1.8:* -" - -S="${WORKDIR}/i2p-${PV}" - -src_prepare() { - java-pkg-2_src_prepare - java-pkg_clean -} - -src_compile() { - local compile_lib - compile_lib() { - local name="${1}" - local file="${2}" - shift 2 - - "$(tc-getCC)" "${@}" ${CFLAGS} $(java-pkg_get-jni-cflags) \ - ${LDFLAGS} -shared -fPIC "-Wl,-soname,lib${name}.so" \ - "${file}" -o "lib${name}.so" - } - - cd "${S}/core/c/jbigi/jbigi" || die "unable to cd to jbigi" - compile_lib jbigi src/jbigi.c -Iinclude -lgmp || - die "unable to build jbigi" - - if use amd64 || use x86; then - cd "${S}/core/c/jcpuid" || die "unable to cd to jcpuid" - compile_lib jcpuid src/jcpuid.c -Iinclude || - die "unable to build jcpuid" - fi -} - -src_test() { - cd core/java/src || die "unable to cd to java/src" - - ejavac -encoding UTF-8 net/i2p/util/NativeBigInteger.java || - die "unable to build tests" - "$(java-config -J)" -Djava.library.path="${S}/core/c/jbigi/jbigi" net/i2p/util/NativeBigInteger || - die "unable to pass tests" -} - -src_install() { - java-pkg_doso core/c/jbigi/jbigi/libjbigi.so - - if use amd64 || use x86; then - java-pkg_doso core/c/jcpuid/libjcpuid.so - fi -} |