/[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.5 - (hide annotations) (download)
Wed May 14 22:14:30 2003 UTC (16 years, 9 months ago) by robbat2
Branch: MAIN
Changes since 1.4: +8 -8 lines
Updated ebuild to use SF mirrors and cleaned it up some. Also moved to stable after some testing.

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 robbat2 1.5 # $Header: /home/cvsroot/gentoo-x86/sys-apps/partimage/partimage-0.6.2.ebuild,v 1.4 2003/02/13 16:08:58 vapier Exp $
4 drobbins 1.1
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 robbat2 1.5 SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
8 drobbins 1.1 LICENSE="GPL-2"
9     SLOT="0"
10 robbat2 1.5 KEYWORDS="x86"
11 drobbins 1.1 IUSE="ssl"
12    
13     RDEPEND="virtual/glibc
14     >=sys-libs/zlib-1.1.4
15     >=dev-libs/lzo-1.08
16 drobbins 1.3 >=dev-libs/newt-0.50.35-r1
17 drobbins 1.1 >=sys-libs/slang-1.4.5-r2
18 robbat2 1.5 sys-apps/bzip2
19 drobbins 1.1 ssl? ( >=dev-libs/openssl-0.9.6g )"
20    
21 drobbins 1.2 DEPEND="${RDEPEND} sys-devel/autoconf"
22 drobbins 1.1
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 robbat2 1.5 econf \
36 drobbins 1.1 ${sslconf} \
37 robbat2 1.5 --infodir=/usr/share/doc/${PF}
38 drobbins 1.1 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 robbat2 1.5 localedir=${D}/usr/share/locale \
50     gettextsrcdir=${D}/usr/share/gettext/po \
51 drobbins 1.1 install || die
52     }

  ViewVC Help
Powered by ViewVC 1.1.20