summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 06:21:00 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:54:23 +0100
commit937319f9ef1a2af70389f2354deff0c8dd29c25b (patch)
tree2f6ec2e5a7d345bd8ecfbcad52b5e9075f6e44f1 /dev-libs/libserialport
parentdev-libs/libparserutils: use BDEPEND, toolchain-funcs-- (diff)
downloadgentoo-937319f9ef1a2af70389f2354deff0c8dd29c25b.tar.gz
gentoo-937319f9ef1a2af70389f2354deff0c8dd29c25b.tar.bz2
gentoo-937319f9ef1a2af70389f2354deff0c8dd29c25b.zip
dev-libs/libserialport: EAPI 7, eutils--, ltprune--
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libserialport')
-rw-r--r--dev-libs/libserialport/libserialport-0.1.1.ebuild18
-rw-r--r--dev-libs/libserialport/libserialport-9999.ebuild18
2 files changed, 16 insertions, 20 deletions
diff --git a/dev-libs/libserialport/libserialport-0.1.1.ebuild b/dev-libs/libserialport/libserialport-0.1.1.ebuild
index 36916226487d..b6824186f222 100644
--- a/dev-libs/libserialport/libserialport-0.1.1.ebuild
+++ b/dev-libs/libserialport/libserialport-0.1.1.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
-
-inherit eutils ltprune
+EAPI=7
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
- inherit git-r3 autotools
+ inherit autotools git-r3
else
SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
@@ -20,13 +18,12 @@ LICENSE="LGPL-3"
SLOT="0"
IUSE="static-libs"
-RDEPEND=""
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
src_prepare() {
+ default
+
[[ ${PV} == "9999" ]] && eautoreconf
- eapply_user
}
src_configure() {
@@ -35,5 +32,6 @@ src_configure() {
src_install() {
default
- prune_libtool_files
+
+ find "${ED}" -name '*.la' -type f -delete || die
}
diff --git a/dev-libs/libserialport/libserialport-9999.ebuild b/dev-libs/libserialport/libserialport-9999.ebuild
index cb6bd9f168a1..13181d0099a0 100644
--- a/dev-libs/libserialport/libserialport-9999.ebuild
+++ b/dev-libs/libserialport/libserialport-9999.ebuild
@@ -1,13 +1,11 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
-
-inherit eutils ltprune
+EAPI=7
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="git://sigrok.org/${PN}"
- inherit git-r3 autotools
+ inherit autotools git-r3
else
SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
@@ -20,13 +18,12 @@ LICENSE="LGPL-3"
SLOT="0"
IUSE="static-libs"
-RDEPEND=""
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig"
src_prepare() {
+ default
+
[[ ${PV} == "9999" ]] && eautoreconf
- eapply_user
}
src_configure() {
@@ -35,5 +32,6 @@ src_configure() {
src_install() {
default
- prune_libtool_files
+
+ find "${ED}" -name '*.la' -type f -delete || die
}