summaryrefslogtreecommitdiff
blob: d05a48d1a99d3da1df71d3a6037eb87a5acabada (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
36
37
38
# Copyright 1999-2003 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.1 2003/10/17 12:24:48 bass 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"
KEYWORDS="x86"

DEPEND="app-arch/rpm2targz"
RDEPEND="${DEPEND}
		app-admin/systemconfigurator"

src_unpack() {
	rpm2targz ${DISTDIR}/${MY_P}.rpm
	tar zxf ${WORKDIR}/${MY_P}.tar.gz
}

src_compile() {
	einfo "nothing to compile; binary package."
}

src_install() {
	dobin usr/bin/lsimage
	mkdir -p ${D}/usr/lib/systemimager/perl/SystemImager/
	insinto /usr/lib/systemimager/perl/SystemImager/
	doins usr/lib/systemimager/perl/SystemImager/{Common,Config}.pm
	doman usr/share/man/man5/autoinstallscript.conf.5.gz
	doman usr/share/man/man8/lsimage.8.gz

}