summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/systemimager-common-bin/systemimager-common-bin-3.0.1.ebuild')
-rw-r--r--app-admin/systemimager-common-bin/systemimager-common-bin-3.0.1.ebuild21
1 files changed, 9 insertions, 12 deletions
diff --git a/app-admin/systemimager-common-bin/systemimager-common-bin-3.0.1.ebuild b/app-admin/systemimager-common-bin/systemimager-common-bin-3.0.1.ebuild
index 8d8102264564..ef4ea3001fa7 100644
--- a/app-admin/systemimager-common-bin/systemimager-common-bin-3.0.1.ebuild
+++ b/app-admin/systemimager-common-bin/systemimager-common-bin-3.0.1.ebuild
@@ -1,27 +1,27 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/systemimager-common-bin/systemimager-common-bin-3.0.1.ebuild,v 1.5 2004/02/29 15:27:12 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/systemimager-common-bin/systemimager-common-bin-3.0.1.ebuild,v 1.6 2004/05/31 19:21:33 vapier Exp $
MY_P="systemimager-common-3.0.1-4.noarch"
-S=${WORKDIR}
DESCRIPTION="System imager common."
HOMEPAGE="http://www.systemimager.org/"
SRC_URI="mirror://sourceforge/systemimager/${MY_P}.rpm"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="x86"
+IUSE=""
DEPEND="app-arch/rpm2targz"
-
-
RDEPEND="${DEPEND}
app-admin/systemconfigurator"
+S=${WORKDIR}
+
src_unpack() {
- rpm2targz ${DISTDIR}/${MY_P}.rpm
- tar zxf ${WORKDIR}/${MY_P}.tar.gz
+ rpm2targz ${DISTDIR}/${MY_P}.rpm || die
+ tar zxf ${WORKDIR}/${MY_P}.tar.gz || die
}
src_compile() {
@@ -29,12 +29,9 @@ src_compile() {
}
src_install() {
- dobin usr/bin/lsimage
- mkdir -p ${D}/usr/lib/systemimager/perl/SystemImager/
+ dobin usr/bin/lsimage || die
insinto /usr/lib/systemimager/perl/SystemImager/
- doins usr/lib/systemimager/perl/SystemImager/{Common,Config}.pm
+ doins usr/lib/systemimager/perl/SystemImager/{Common,Config}.pm || die
doman usr/share/man/man5/autoinstallscript.conf.5.gz
doman usr/share/man/man8/lsimage.8.gz
-
}
-