summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/libspt')
-rw-r--r--dev-libs/libspt/libspt-1.1-r2.ebuild47
-rw-r--r--dev-libs/libspt/metadata.xml11
2 files changed, 4 insertions, 54 deletions
diff --git a/dev-libs/libspt/libspt-1.1-r2.ebuild b/dev-libs/libspt/libspt-1.1-r2.ebuild
deleted file mode 100644
index 6954c394f08c..000000000000
--- a/dev-libs/libspt/libspt-1.1-r2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Library for handling root privilege"
-HOMEPAGE="http://www.j10n.org/libspt/"
-SRC_URI="http://www.j10n.org/${PN}/${P}.tar.bz2"
-
-LICENSE="BSD-2"
-SLOT="0"
-KEYWORDS="~alpha amd64 ppc x86"
-IUSE="+libtirpc"
-RESTRICT="test"
-
-RDEPEND="!libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) )
- libtirpc? ( net-libs/libtirpc )"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
- "${FILESDIR}/${PN}-gentoo.patch"
- "${FILESDIR}/${PN}-glibc-2.30.patch"
- "${FILESDIR}/${PN}-rpc.patch"
-)
-
-src_prepare() {
- rm aclocal.m4
-
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-static \
- $(use_with libtirpc)
-}
-
-src_install() {
- default
-
- # no static archives
- find "${ED}" -name '*.la' -delete || die
-}
diff --git a/dev-libs/libspt/metadata.xml b/dev-libs/libspt/metadata.xml
index 4b6896b6c4a2..6f2ca22da233 100644
--- a/dev-libs/libspt/metadata.xml
+++ b/dev-libs/libspt/metadata.xml
@@ -1,11 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="project">
- <email>cjk@gentoo.org</email>
- <name>Cjk</name>
- </maintainer>
- <use>
- <flag name="libtirpc">Build against net-libs/libtirpc for RPC support</flag>
- </use>
+ <maintainer type="project">
+ <email>cjk@gentoo.org</email>
+ <name>Cjk</name>
+ </maintainer>
</pkgmetadata>