/[gentoo-x86]/sys-apps/partimage/partimage-0.6.2.ebuild
Gentoo

Contents of /sys-apps/partimage/partimage-0.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Fri Nov 14 20:11:36 2003 UTC (16 years, 3 months ago) by seemant
Branch: MAIN
Changes since 1.9: +2 -2 lines
dependency from sys-apps/bzip2 to app-arch/bzip2

1 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /home/cvsroot/gentoo-x86/sys-apps/partimage/partimage-0.6.2.ebuild,v 1.9 2003/10/28 18:52:14 johnm Exp $
4
5 inherit gnuconfig
6
7 DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support."
8 HOMEPAGE="http://www.partimage.org/"
9 SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="x86 ~amd64"
13 IUSE="ssl"
14
15 RDEPEND="virtual/glibc
16 >=sys-libs/zlib-1.1.4
17 >=dev-libs/lzo-1.08
18 >=dev-libs/newt-0.50.35-r1
19 >=sys-libs/slang-1.4.5-r2
20 app-arch/bzip2
21 ssl? ( >=dev-libs/openssl-0.9.6g )"
22
23 DEPEND="${RDEPEND} sys-devel/autoconf"
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S}
28 # Patch Makefile.am so we can take over some of is install work
29 #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed"
30 autoconf
31
32 use amd64 && gnuconfig_update
33 }
34
35 src_compile() {
36 # SSL is optional
37 local sslconf
38 use ssl || sslconf="--disable-ssl"
39 econf \
40 ${sslconf} \
41 --infodir=/usr/share/doc/${PF}
42 cp Makefile Makefile.orig
43 sed -e "s/partimag\.root/root:root/g" Makefile.orig > Makefile
44 emake || die
45 }
46
47 src_install() {
48 make \
49 prefix=${D}/usr \
50 sysconfdir=${D}/etc \
51 mandir=${D}/usr/share/man \
52 infodir=${D}/usr/share/doc/${PF} \
53 localedir=${D}/usr/share/locale \
54 gettextsrcdir=${D}/usr/share/gettext/po \
55 install || die
56 }

  ViewVC Help
Powered by ViewVC 1.1.20