blob: 2ea71d6667c3feac1796713cdc7e1ff5b3d66bc8 (
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
55
56
57
58
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author Dan Armak <danarmak@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-cdr/simplecdrx/simplecdrx-1.0_pre1.ebuild,v 1.2 2002/02/12 01:23:19 verwilst Exp $
MY_P="${PN}-`echo ${PV} |sed -e 's:_:-:'`"
S=${WORKDIR}/${MY_P}
DESCRIPTION="CD ripping/mastering"
SRC_URI="http://ogre.rocky-road.net/files/${MY_P}.tar.bz2"
HOMEPAGE="http://ogre.rocky-road.net/cdr.shtml"
SLOT="0"
#todo: add blade encoder
DEPEND="sys-devel/gcc media-sound/mad app-cdr/cdrtools app-cdr/cdrdao
media-sound/cdparanoia media-sound/lame media-libs/libogg
media-sound/mpg123 virtual/x11 >=x11-libs/gtk+-1.2.10-r4 \
dev-libs/glib media-libs/libvorbis
media-libs/libao"
RDEPEND="media-sound/mad app-cdr/cdrtools app-cdr/cdrdao
media-sound/cdparanoia media-sound/lame media-libs/libogg
media-sound/mpg123 virtual/x11 >=x11-libs/gtk+-1.2.10-r4 \
dev-libs/glib media-libs/libvorbis
media-libs/libao"
src_compile() {
cp src/main.c src/main.c.orig
sed -e 's:/usr/local/share:/usr/share:g' \
src/main.c.orig >src/main.c || die
./configure --host=${CHOST} \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
|| die
emake || die
}
src_install () {
make DESTDIR=${D} install || die
# Add the Gnome menu entry
if [ "`use gnome`" ] ; then
insinto /usr/share/pixmaps
doins ${FILESDIR}/simplecdrx.png
insinto /usr/share/gnome/apps/Applications/
doins ${FILESDIR}/simplecdrx.desktop
fi
doman man/simplecdr-x.1
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README
}
|