diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-15 15:51:32 +0000 |
commit | 21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch) | |
tree | e1810a4b135afce04b34862ef0fab2bfaeb8aeca /x11-misc/bbppp/bbppp-0.2.5-r1.ebuild | |
parent | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff) |
gentoo resync : 15.01.2020
Diffstat (limited to 'x11-misc/bbppp/bbppp-0.2.5-r1.ebuild')
-rw-r--r-- | x11-misc/bbppp/bbppp-0.2.5-r1.ebuild | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild b/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild index ec064c74c16f..a8e1a0cdbba4 100644 --- a/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild +++ b/x11-misc/bbppp/bbppp-0.2.5-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=4 +EAPI=7 -inherit autotools eutils +inherit autotools DESCRIPTION="blackbox ppp frontend/monitor" HOMEPAGE="https://sourceforge.net/projects/bbtools/" @@ -12,30 +12,34 @@ SRC_URI="mirror://sourceforge/bbtools/${PN}/${P}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="" DEPEND="x11-libs/libX11" RDEPEND="${DEPEND} media-fonts/font-adobe-100dpi" -DOCS=( README AUTHORS BUGS ChangeLog NEWS TODO data/README.bbppp ) +PATCHES=( + "${FILESDIR}"/${P}-gcc3-multiline.patch + "${FILESDIR}"/${PN}-asneeded.patch + "${FILESDIR}"/${P}-overflows.patch +) src_prepare() { - epatch "${FILESDIR}"/${P}-gcc3-multiline.patch \ - "${FILESDIR}"/${PN}-asneeded.patch \ - "${FILESDIR}"/${P}-overflows.patch + default + mv configure.{in,ac} || die eautoreconf } -src_install () { +src_install() { default - rm "${D}"/usr/share/bbtools/README.bbppp + dodoc BUGS data/README.bbppp + + rm "${ED}"/usr/share/bbtools/README.bbppp || die } pkg_postinst() { # don't assume blackbox exists because virtual/blackbox is installed - if [[ -x ${ROOT}/usr/bin/blackbox ]] ; then - if ! grep bbppp "${ROOT}"/usr/bin/blackbox &>/dev/null ; then + if [[ -x ${EROOT}/usr/bin/blackbox ]] ; then + if ! grep bbppp "${EROOT}"/usr/bin/blackbox &>/dev/null ; then sed -e "s/.*blackbox/exec \/usr\/bin\/bbppp \&\n&/" blackbox | cat > blackbox fi fi |