more error checking
authorMike Frysinger <vapier@gentoo.org>
Tue, 26 Oct 2004 13:18:36 +0000 (13:18 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 26 Oct 2004 13:18:36 +0000 (13:18 +0000)
app-cdr/xdvdfs-tools/xdvdfs-tools-1.0.ebuild

index d76f59a4bba2166b86084e2f1063ff2f080337eb..713fb32ca6f1aba0715753256083457983f2f6e0 100644 (file)
@@ -1,19 +1,20 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/xdvdfs-tools/xdvdfs-tools-1.0.ebuild,v 1.5 2004/10/16 14:53:45 chrb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/xdvdfs-tools/xdvdfs-tools-1.0.ebuild,v 1.6 2004/10/26 13:18:36 vapier Exp $
 
 DESCRIPTION="Tools for manipulating Xbox ISO images"
-HOMEPAGE="http://xbox-scene.org"
-
-# the filename actually has a space in it, so either get this from the gentoo mirror,
-# or get it manually
+HOMEPAGE="http://xbox-scene.org/"
 SRC_URI="http://dwl.xbox-scene.com/~xbox/xbox-scene/tools/isotools/XDVDFS_Tools.tar.bz2"
+# the filename actually has a space in it, so either
+# get this from the gentoo mirror, or get it manually
 
 LICENSE="GPL-2"
 SLOT="0"
+KEYWORDS="~amd64 ~ppc x86"
 IUSE=""
-KEYWORDS="x86 ~ppc ~amd64"
+
 DEPEND=""
+
 S=${WORKDIR}/"XDVDFS_Tools/src"
 
 src_unpack() {
@@ -24,16 +25,16 @@ src_unpack() {
 
 src_compile() {
        cd xdvdfs_dumper
-       emake || die
+       emake || die "xdvdfs_dumper"
        cd ../xdvdfs_extract
-       emake || die
+       emake || die "xdvdfs_extract"
        cd ../xdvdfs_maker
-       emake || die
+       emake || die "xdvdfs_maker"
 }
 
 src_install() {
-       dobin ${S}/xdvdfs_dumper/output/xdvdfs_dumper
-       dobin ${S}/xdvdfs_extract/output/xdvdfs_extract
-       dobin ${S}/xdvdfs_maker/output/xdvdfs_maker
-       dodoc ${S}/../documentation.pdf
+       dobin xdvdfs_dumper/output/xdvdfs_dumper || die "xdvdfs_dumper"
+       dobin xdvdfs_extract/output/xdvdfs_extract || die "xdvdfs_extract"
+       dobin xdvdfs_maker/output/xdvdfs_maker || die "xdvdfs_maker"
+       dodoc ../documentation.pdf
 }