summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2024-06-08 22:26:26 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2024-06-08 22:26:26 +0300
commitb0a262afc8007eb7bea9fe968b6dfac545ec35df (patch)
treecd98a8024f697e5174f62c9e43847d4589cf6df0 /sci-libs
parentnet-analyzer/check_mk_agent: last-rites (diff)
downloadgentoo-b0a262afc8007eb7bea9fe968b6dfac545ec35df.tar.gz
gentoo-b0a262afc8007eb7bea9fe968b6dfac545ec35df.tar.bz2
gentoo-b0a262afc8007eb7bea9fe968b6dfac545ec35df.zip
sci-libs/libticables2: EAPI 6 -> 8
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libticables2/libticables2-1.3.5-r1.ebuild (renamed from sci-libs/libticables2/libticables2-1.3.5.ebuild)31
1 files changed, 17 insertions, 14 deletions
diff --git a/sci-libs/libticables2/libticables2-1.3.5.ebuild b/sci-libs/libticables2/libticables2-1.3.5-r1.ebuild
index 7f0e4f959203..f71abc217606 100644
--- a/sci-libs/libticables2/libticables2-1.3.5.ebuild
+++ b/sci-libs/libticables2/libticables2-1.3.5-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
inherit autotools
@@ -17,11 +17,13 @@ IUSE="debug doc nls static-libs usb"
RDEPEND="
dev-libs/glib:2
usb? ( virtual/libusb:1 )
- nls? ( virtual/libintl )"
-
-DEPEND="${RDEPEND}
+ nls? ( virtual/libintl )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
virtual/pkgconfig
- nls? ( sys-devel/gettext )"
+ nls? ( sys-devel/gettext )
+"
DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt )
@@ -31,23 +33,24 @@ src_prepare() {
}
src_configure() {
- # --disable-libusb $(use_enable usb libusb10) would enable virtual/libusb:1
- econf \
- --disable-rpath \
- $(use_enable static-libs static) \
- $(use_enable debug logging) \
- $(use_enable nls) \
- $(use_enable usb libusb) \
+ local myeconfargs=(
+ --disable-rpath
+ $(use_enable static-libs static)
+ $(use_enable debug logging)
+ $(use_enable nls)
+ $(use_enable usb libusb)
$(use_enable usb libusb10)
+ )
+ econf "${myeconfargs[@]}"
}
src_install() {
use doc && HTML_DOCS+=( docs/html/. )
default
- find "${D}" -name '*.la' -delete || die
+ find "${D}" -type f -name '*.la' -delete || die
}
pkg_postinst() {
- elog "Please read README in ${EROOT%/}/usr/share/doc/${PF}"
+ elog "Please read README in ${EROOT}/usr/share/doc/${PF}"
elog "if you encounter any problem with a link cable"
}