blob: a0c94a4d109cc36ab0d8bf4b19e2671795d285c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/bashburn/bashburn-2.1.2.ebuild,v 1.1 2007/12/16 20:53:25 pylon Exp $
MY_P=BashBurn-${PV}
DESCRIPTION="cd burning shell script"
HOMEPAGE="http://bashburn.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="dvdr"
DEPEND="virtual/libc
virtual/cdrtools
app-cdr/cdrdao
dvdr? ( app-cdr/dvd+rw-tools )
virtual/mpg123
media-sound/lame
media-sound/vorbis-tools
media-sound/normalize
media-libs/flac
virtual/eject"
RDEPEND="app-shells/bash"
S="${WORKDIR}"/${MY_P}
src_compile() {
echo "Skipping Compile"
}
src_install() {
sed -i 's#export BBCONFFILE="/etc/bashburnrc"#export BBCONFFILE="/etc/bashburn/bashburnrc"#g' BashBurn.sh \
|| die "sed failed"
sed -i 's#BBROOTDIR:.*#BBROOTDIR: /opt/BashBurn#g' bashburnrc \
|| die "sed failed"
dodir /etc/bashburn
dodir /opt/BashBurn
dodir /usr/bin
mv {burning,config,convert,func,menus,misc,lang} "${D}"/opt/BashBurn
exeinto /opt/BashBurn
doexe BashBurn.sh || die
cp bashburnrc "${D}"/etc/bashburn
fperms 644 /etc/bashburn/bashburnrc
ln -sf /opt/BashBurn/BashBurn.sh "${D}"/usr/bin/bashburn
dodoc README HOWTO FAQ ChangeLog TODO
}
|