summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-17 16:12:05 +0100
committerSam James <sam@gentoo.org>2022-04-17 16:18:34 +0100
commit541cd175c87e6908af2583f659c9182fa7ecdc2f (patch)
tree26f1a4a0212e11b950204bc520315dbc76a00fa2 /dev-libs/libezV24
parentapp-text/groonga-normalizer-mysql: drop static-libs, EAPI 8 (diff)
downloadgentoo-541cd175c87e6908af2583f659c9182fa7ecdc2f.tar.gz
gentoo-541cd175c87e6908af2583f659c9182fa7ecdc2f.tar.bz2
gentoo-541cd175c87e6908af2583f659c9182fa7ecdc2f.zip
dev-libs/libezV24: update EAPI 7 -> 8
Closes: https://bugs.gentoo.org/726970 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libezV24')
-rw-r--r--dev-libs/libezV24/libezV24-0.1.1-r2.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/dev-libs/libezV24/libezV24-0.1.1-r2.ebuild b/dev-libs/libezV24/libezV24-0.1.1-r2.ebuild
new file mode 100644
index 000000000000..c413c58e3d6a
--- /dev/null
+++ b/dev-libs/libezV24/libezV24-0.1.1-r2.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="library that provides an easy API to Linux serial ports"
+HOMEPAGE="http://ezv24.sourceforge.net"
+SRC_URI="mirror://sourceforge/ezv24/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
+
+HTML_DOCS=( api-html/. )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-build.patch
+ "${FILESDIR}"/${P}-test.patch
+)
+
+src_prepare() {
+ default
+
+ tc-export AR CC RANLIB
+ sed -i -e 's:__LINUX__:__linux__:' *.c *.h || die
+}
+
+src_install() {
+ export NO_LDCONFIG="stupid"
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" \
+ LIBDIR="${EPREFIX}/usr/$(get_libdir)" install
+ einstalldocs
+
+ find "${ED}" -name '*.a' -delete || die
+}