summaryrefslogtreecommitdiff
blob: b733b76a619de167d51426ce9fa146917ce40682 (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 Technologies, Inc.
# 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.3 2004/03/12 12:02:37 mr_bones_ 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"
}