--- dvdisaster-0.55.ebuild 2005-06-19 23:24:34.000000000 +0200 +++ dvdisaster-0.61.ebuild 2005-06-19 23:26:49.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright 1999-2004 Gentoo Technologies, Inc. +# Copyright 1999-2005 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ @@ -12,23 +12,31 @@ IUSE="nls" SLOT="0" -KEYWORDS="x86" +KEYWORDS="x86 ~amd64" -SRC_URI="http://download.berlios.de/dvdisaster/${P}.tgz" +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" - ./configure ${myconf} || die - emake -j1 || die + 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