summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-09-14 22:01:17 +0000
committerSam James <sam@gentoo.org>2020-09-14 22:01:17 +0000
commit66ef97d6ff5dd70cbb022cbd457a8484932497db (patch)
treee0bc688c5e4b38cb1b0ef3b6ee13491d92bd71aa /app-cdr/bashburn
parentdev-ruby/rubygems: Stabilize 3.0.3 arm, #728192 (diff)
downloadgentoo-66ef97d6ff5dd70cbb022cbd457a8484932497db.tar.gz
gentoo-66ef97d6ff5dd70cbb022cbd457a8484932497db.tar.bz2
gentoo-66ef97d6ff5dd70cbb022cbd457a8484932497db.zip
app-cdr/bashburn: port to EAPI 7, fix installed man page
Closes: https://bugs.gentoo.org/724186 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-cdr/bashburn')
-rw-r--r--app-cdr/bashburn/bashburn-3.1.0-r1.ebuild (renamed from app-cdr/bashburn/bashburn-3.1.0.ebuild)29
1 files changed, 18 insertions, 11 deletions
diff --git a/app-cdr/bashburn/bashburn-3.1.0.ebuild b/app-cdr/bashburn/bashburn-3.1.0-r1.ebuild
index ad701420c84e..d4b529bc22ec 100644
--- a/app-cdr/bashburn/bashburn-3.1.0.ebuild
+++ b/app-cdr/bashburn/bashburn-3.1.0-r1.ebuild
@@ -1,21 +1,22 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=4
+EAPI=7
MY_P=BashBurn-${PV}
DESCRIPTION="A shell script for burning optical media"
-HOMEPAGE="http://bashburn.dose.se/"
+HOMEPAGE="http://bashburn.dose.se/ https://gitlab.com/anders.linden/BashBurn"
SRC_URI="http://bashburn.dose.se/index.php?s=file_download&id=25 -> ${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~ppc64 sparc x86"
-IUSE=""
-DEPEND="app-shells/bash"
-RDEPEND="${DEPEND}
+BDEPEND="app-shells/bash"
+RDEPEND="
+ app-shells/bash
app-cdr/cdrdao
app-cdr/dvd+rw-tools
media-libs/flac
@@ -25,23 +26,29 @@ RDEPEND="${DEPEND}
media-sound/normalize
media-sound/vorbis-tools
virtual/cdrtools
- virtual/eject"
-
-S=${WORKDIR}/${MY_P}
+ virtual/eject
+"
src_prepare() {
+ default
+
# Fix for "warning: jobserver unavailable: using -j1."
sed -i -e 's:make -C:$(MAKE) -C:' Makefile || die
+
+ # Don't compress man pages, bug #732894
+ sed -i -e "/gzip/d" Install.sh || die
}
src_install() {
- ./Install.sh --prefix="${D}"/usr || die
+ ./Install.sh --prefix="${ED}"/usr || die
# Remove /var/tmp/portage from installed script
sed -i \
-e "/BBROOTDIR=/s:'.*':'/usr/lib/Bashburn/lib':" \
"${ED}"/usr/lib/Bashburn/lib/BashBurn.sh || die
- rm -rf "${ED}"/usr/lib/Bashburn/lib/docs
+ doman bashburn_man/bashburn.1
+
+ rm -rf "${ED}"/usr/lib/Bashburn/lib/docs || die
dodoc docs/{ChangeLog,CREDITS,FAQ,HOWTO,README,TODO,TRANSLATION_RULE}
}