/[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.8 - (hide annotations) (download)
Sun Sep 7 02:59:55 2003 UTC (16 years, 5 months ago) by msterret
Branch: MAIN
Changes since 1.7: +8 -8 lines
repoman: trim trailing whitespace

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 msterret 1.8 # $Header: /home/cvsroot/gentoo-x86/sys-apps/partimage/partimage-0.6.2.ebuild,v 1.7 2003/07/18 20:40:57 tester Exp $
4 tester 1.7
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 msterret 1.8 >=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 robbat2 1.5 sys-apps/bzip2
21 msterret 1.8 ssl? ( >=dev-libs/openssl-0.9.6g )"
22 drobbins 1.1
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 msterret 1.8 # SSL is optional
37 drobbins 1.1 local sslconf
38     use ssl || sslconf="--disable-ssl"
39 robbat2 1.5 econf \
40 drobbins 1.1 ${sslconf} \
41 msterret 1.8 --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