diff options
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libserialport/libserialport-0.1.1.ebuild | 18 | ||||
-rw-r--r-- | dev-libs/libserialport/libserialport-9999.ebuild | 18 |
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 } |