You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-cdr/bashburn/bashburn-3.1.0.ebuild

49 lines
1.2 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/bashburn/bashburn-3.1.0.ebuild,v 1.2 2012/03/11 14:46:54 ago Exp $
EAPI=4
MY_P=BashBurn-${PV}
DESCRIPTION="A shell script for burning optical media"
HOMEPAGE="http://bashburn.dose.se/"
SRC_URI="http://bashburn.dose.se/index.php?s=file_download&id=25 -> ${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc ~ppc64 ~sparc ~x86"
IUSE=""
DEPEND="app-shells/bash"
RDEPEND="${DEPEND}
app-cdr/cdrdao
app-cdr/dvd+rw-tools
media-libs/flac
media-sound/cdparanoia
media-sound/lame
media-sound/mpg123
media-sound/normalize
media-sound/vorbis-tools
virtual/cdrtools
virtual/eject"
S=${WORKDIR}/${MY_P}
src_prepare() {
# Fix for "warning: jobserver unavailable: using -j1."
sed -i -e 's:make -C:$(MAKE) -C:' Makefile || die
}
src_install() {
./Install.sh --prefix="${D}"/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
dodoc docs/{ChangeLog,CREDITS,FAQ,HOWTO,README,TODO,TRANSLATION_RULE}
}