# Copyright 1999-2005 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Data-protection and recovery tool for DVDs" HOMEPAGE="http://dvdisaster.berlios.de/" LICENSE="GPL-2" DEPEND=">=dev-libs/glib-2 nls? ( sys-devel/gettext )" IUSE="nls" SLOT="0" KEYWORDS="x86 ~amd64" SRC_URI="http://download.berlios.de/dvdisaster/${P}.tbz" RESTRICT="nomirror" src_unpack() { # Portage does not recognize *.tbz files as *.tar.bz2 files, so # we have to unpack it ourselves. BUG? #unpack ${A} tar -xjf ${DISTDIR}/${A} } src_compile() { local myconf use nls && myconf="${myconf} --with-nls=yes" econf ${myconf} || die emake || die } src_install() { # The install target in the supplied makefile is # sub-optimal, so we do things by hand for now into /usr dobin dvdisaster dohtml -r documentation/?? documentation/images dodoc CHANGELOG CREDITS README TODO TRANSLATION.HOWTO }