dev-libs/lockdev: Drop old
authorMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 11:24:49 +0000 (13:24 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 11 Sep 2019 16:19:20 +0000 (18:19 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild [deleted file]

diff --git a/dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild b/dev-libs/lockdev/lockdev-1.0.3.1.2-r2.ebuild
deleted file mode 100644 (file)
index adea574..0000000
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-GENTOO_DEPEND_ON_PERL="no"
-inherit toolchain-funcs base perl-module eutils versionator autotools
-
-MAJOR=$(get_major_version)
-MY_PV=$(get_version_component_range 1-3)
-MY_P=${PN}-${MY_PV}
-DEB_PV=$(replace_version_separator 3 '-')
-DEB_P=${PN}_${DEB_PV}
-
-DESCRIPTION="Library for locking devices"
-HOMEPAGE="http://packages.debian.org/source/sid/lockdev"
-SRC_URI="
-       mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${MY_PV}.orig.tar.gz
-       mirror://debian/pool/main/${PN:0:1}/${PN}/${DEB_P}.diff.gz
-"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ppc ppc64 ~s390 ~sparc ~x86"
-IUSE="perl"
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-       "${FILESDIR}/${MY_P}-add-autotools.patch"
-       "${FILESDIR}/${MY_P}-fix-perl.patch"
-)
-
-S=${WORKDIR}/${PN}-${MY_PV}
-PERL_S=${S}/LockDev
-
-pkg_setup() {
-       use perl && perl_set_version
-}
-
-src_prepare() {
-       cd "${WORKDIR}"
-       # Note: we do *not* want to be in ${S} for this, as that breaks the patch
-       epatch "${WORKDIR}/${DEB_P}.diff"
-
-       cd "${S}"
-       base_src_prepare
-
-       eautoreconf
-}
-
-src_configure() {
-       econf
-
-       if use perl; then
-               cd "${PERL_S}"
-               perl-module_src_configure
-       fi
-}
-
-src_compile() {
-       emake
-
-       if use perl; then
-               cd "${PERL_S}"
-               perl-module_src_compile
-       fi
-}
-
-src_test() {
-       if use perl; then
-               cd "${PERL_S}"
-               SRC_TEST="do"
-               export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}${S}/.libs"
-               perl-module_src_test
-       fi
-}
-
-src_install() {
-       emake DESTDIR="${D}" install
-
-       dodoc AUTHORS ChangeLog* debian/NEWS README.debug
-       newdoc debian/changelog changelog.debian
-
-       if use perl; then
-               cd "${PERL_S}"
-               mytargets="pure_install"
-               docinto perl
-               perl-module_src_install
-       fi
-
-       # Remove *.la files
-       find "${D}" -name "*.la" -exec rm {} + || die "removal of *.la files failed"
-}
-
-pkg_preinst() {
-       use perl && perl_set_version
-}