blob: c31edeb0be3bcf3f2698d6287f15f85e83623c8a (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/gcombust/gcombust-0.1.55-r1.ebuild,v 1.6 2006/08/08 03:56:32 metalgod Exp $
inherit eutils gnuconfig
DESCRIPTION="A GUI for mkisofs/mkhybrid/cdda2wav/cdrecord/cdlabelgen."
HOMEPAGE="http://www.abo.fi/~jmunsin/gcombust/"
SRC_URI="http://www.abo.fi/~jmunsin/gcombust/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc sparc x86"
IUSE="nls"
DEPEND="=x11-libs/gtk+-1.2*
nls? ( sys-devel/gettext )"
RDEPEND="${DEPEND}
app-cdr/cdrtools
nls? ( virtual/libintl )"
src_unpack() {
if [ "${A}" != "" ]; then
unpack ${A}
fi
gnuconfig_update
cd ${S}
epatch ${FILESDIR}/${P}-gcc41.patch
}
src_compile() {
local myconf
if ! use nls
then
myconf="${myconf} --disable-nls"
touch intl/libintl.h
else
myconf="${myconf} --enable-nls"
fi
./configure \
--host=${CHOST} \
--prefix=/usr \
${myconf} \
|| die
emake || die
}
src_install() {
make prefix=${D}/usr install || die
dodoc AUTHORS ChangeLog INSTALL NEWS README THANKS TODO
dohtml -a shtml FAQ.shtml
}
|