/[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.6 - (show annotations) (download)
Sat Jun 21 21:19:40 2003 UTC (16 years, 9 months ago) by drobbins
Branch: MAIN
Changes since 1.5: +2 -2 lines
mondo amd64 commit (keywords, misc things here and there)

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

  ViewVC Help
Powered by ViewVC 1.1.20