summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-11-05 15:54:56 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-05 15:54:56 +0100
commit319812f22084cb47b4eac339bcd160dd1747c918 (patch)
tree32167810550a8d47a61120be7cc4424d1ed5150a /dev-libs/libusbhp
parentsys-process/latencytop: Port to EAPI 7 (diff)
downloadgentoo-319812f22084cb47b4eac339bcd160dd1747c918.tar.gz
gentoo-319812f22084cb47b4eac339bcd160dd1747c918.tar.bz2
gentoo-319812f22084cb47b4eac339bcd160dd1747c918.zip
dev-libs/libusbhp: Port to EAPI 7
Closes: https://bugs.gentoo.org/819606 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'dev-libs/libusbhp')
-rw-r--r--dev-libs/libusbhp/libusbhp-1.0.2-r1.ebuild (renamed from dev-libs/libusbhp/libusbhp-1.0.2.ebuild)13
1 files changed, 6 insertions, 7 deletions
diff --git a/dev-libs/libusbhp/libusbhp-1.0.2.ebuild b/dev-libs/libusbhp/libusbhp-1.0.2-r1.ebuild
index a0f207b35800..af8356687f2a 100644
--- a/dev-libs/libusbhp/libusbhp-1.0.2.ebuild
+++ b/dev-libs/libusbhp/libusbhp-1.0.2-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
DESCRIPTION="Usb Hotplug Library"
HOMEPAGE="http://www.aasimon.org/libusbhp/"
@@ -10,19 +10,18 @@ SRC_URI="http://www.aasimon.org/${PN}/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~mips ~x86"
-IUSE="static-libs"
RDEPEND=">=virtual/libudev-147"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
src_configure() {
econf \
- $(use_enable static-libs static) \
+ --disable-static \
--without-debug
}
src_install() {
default
- use static-libs || find "${ED}" -name '*.la' -delete
+ find "${ED}" -name '*.la' -delete || die
}