summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 06:07:48 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:54:26 +0100
commit18f361dcaac7bade4134f61c11725c6974e47e2c (patch)
tree84d0a1b3fd93878c62a9198627ea67b95b55dd71 /dev-libs/libvformat
parentdev-libs/libtasn1: drop unused libtool.eclass (diff)
downloadgentoo-18f361dcaac7bade4134f61c11725c6974e47e2c.tar.gz
gentoo-18f361dcaac7bade4134f61c11725c6974e47e2c.tar.bz2
gentoo-18f361dcaac7bade4134f61c11725c6974e47e2c.zip
dev-libs/libvformat: port to EAPI 7, eutils--, ltprune--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libvformat')
-rw-r--r--dev-libs/libvformat/files/libvformat-nodoc.patch4
-rw-r--r--dev-libs/libvformat/libvformat-1.13-r2.ebuild20
2 files changed, 13 insertions, 11 deletions
diff --git a/dev-libs/libvformat/files/libvformat-nodoc.patch b/dev-libs/libvformat/files/libvformat-nodoc.patch
index e9dd55ce25ef..cba04e1e569d 100644
--- a/dev-libs/libvformat/files/libvformat-nodoc.patch
+++ b/dev-libs/libvformat/files/libvformat-nodoc.patch
@@ -1,5 +1,5 @@
---- Makefile.am.orig 2005-08-12 13:36:39.000000000 +0200
-+++ Makefile.am 2005-08-12 13:36:57.000000000 +0200
+--- a/Makefile.am
++++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = src vformat test doc
+SUBDIRS = src vformat
diff --git a/dev-libs/libvformat/libvformat-1.13-r2.ebuild b/dev-libs/libvformat/libvformat-1.13-r2.ebuild
index 22f1d04278fc..323b1ec0b2de 100644
--- a/dev-libs/libvformat/libvformat-1.13-r2.ebuild
+++ b/dev-libs/libvformat/libvformat-1.13-r2.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils autotools ltprune
+EAPI=7
+
+inherit autotools
DESCRIPTION="Library to read and write vcard files"
HOMEPAGE="https://sourceforge.net/projects/vformat/"
@@ -10,29 +11,30 @@ SRC_URI="
mirror://debian/pool/main/libv/${PN}/${PN}_${PV}.orig.tar.gz
mirror://debian/pool/main/libv/${PN}/${PN}_${PV}-10.debian.tar.gz
"
+S="${WORKDIR}/${P}.orig"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha amd64 ppc ppc64 sparc x86"
-IUSE="static-libs"
-
-S="${WORKDIR}/${P}.orig"
src_prepare() {
- epatch \
+ eapply \
"${WORKDIR}"/debian/patches/*.patch \
"${FILESDIR}"/${PN}-nodoc.patch \
"${FILESDIR}"/${P}-has_unistd.patch \
"${FILESDIR}"/${P}-str.patch
+ default
+
eautoreconf
}
src_configure() {
- econf $(use_enable static-libs static)
+ econf --disable-static
}
src_install() {
default
- use static-libs || prune_libtool_files
+
+ find "${ED}" -name '*.la' -delete || die
}