/[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.7 - (hide annotations) (download)
Fri Jul 18 20:40:57 2003 UTC (16 years, 8 months ago) by tester
Branch: MAIN
Branch point for: RELEASE-1_4
Changes since 1.6: +6 -2 lines
added amd64

1 vapier 1.4 # Copyright 1999-2003 Gentoo Technologies, Inc.
2 drobbins 1.1 # Distributed under the terms of the GNU General Public License v2
3 tester 1.7 # $Header: /home/cvsroot/gentoo-x86/sys-apps/partimage/partimage-0.6.2.ebuild,v 1.6 2003/06/21 21:19:40 drobbins Exp $
4    
5     inherit gnuconfig
6 drobbins 1.1
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 robbat2 1.5 SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
10 drobbins 1.1 LICENSE="GPL-2"
11     SLOT="0"
12 tester 1.7 KEYWORDS="x86 ~amd64"
13 drobbins 1.1 IUSE="ssl"
14    
15     RDEPEND="virtual/glibc
16     >=sys-libs/zlib-1.1.4
17     >=dev-libs/lzo-1.08
18 drobbins 1.3 >=dev-libs/newt-0.50.35-r1
19 drobbins 1.1 >=sys-libs/slang-1.4.5-r2
20 robbat2 1.5 sys-apps/bzip2
21 drobbins 1.1 ssl? ( >=dev-libs/openssl-0.9.6g )"
22    
23 drobbins 1.2 DEPEND="${RDEPEND} sys-devel/autoconf"
24 drobbins 1.1
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 tester 1.7
32     use amd64 && gnuconfig_update
33 drobbins 1.1 }
34    
35     src_compile() {
36     # SSL is optional
37     local sslconf
38     use ssl || sslconf="--disable-ssl"
39 robbat2 1.5 econf \
40 drobbins 1.1 ${sslconf} \
41 robbat2 1.5 --infodir=/usr/share/doc/${PF}
42 drobbins 1.1 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 robbat2 1.5 localedir=${D}/usr/share/locale \
54     gettextsrcdir=${D}/usr/share/gettext/po \
55 drobbins 1.1 install || die
56     }

  ViewVC Help
Powered by ViewVC 1.1.20