summaryrefslogtreecommitdiff
blob: fa4523b1e5739b10fb47bdb7c0a01b83dd36e506 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-cdr/cdw/cdw-0.1.4.ebuild,v 1.4 2004/06/24 21:32:45 agriffis Exp $

DESCRIPTION="ncurses-based console frontend to cdrecord and mkisofs"
HOMEPAGE="http://cdw.sourceforge.net"
SRC_URI="mirror://sourceforge/cdw/${P}.tar.gz"

KEYWORDS="x86"
LICENSE="GPL-2"
SLOT="0"

IUSE="nls"

RDEPEND="virtual/cdrtools"
DEPEND="sys-libs/ncurses
	nls? ( sys-devel/gettext )"

src_unpack() {
	unpack ${A}
	sed -i \
		-e '/SUBDIRS/ s/doc//' ${S}/Makefile.in || \
			die "sed Makefile.in failed"
}

src_compile() {
	econf `use_enable nls` || die
	emake || die "emake failed"
}

src_install() {
	einstall || die
	dodoc AUTHORS ChangeLog NEWS THANKS \
		doc/{KNOWN_BUGS,README,default.conf} || die "dodoc failed"
}