/[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.3 - (show annotations) (download)
Mon Dec 23 07:04:38 2002 UTC (17 years, 2 months ago) by drobbins
Branch: MAIN
CVS Tags: GENTOO_1_4_SNAP_2003010800
Changes since 1.2: +2 -2 lines
Depend on a newt with the proper /usr/lib symlinks

1 # Copyright 1999-2002 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.2 2002/12/23 06:46:58 drobbins 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="http://unc.dl.sourceforge.net/sourceforge/partimage/${P}.tar.bz2"
8 LICENSE="GPL-2"
9 SLOT="0"
10 KEYWORDS="~x86"
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 ssl? ( >=dev-libs/openssl-0.9.6g )"
19
20 DEPEND="${RDEPEND} sys-devel/autoconf"
21
22 src_unpack() {
23 unpack ${A}
24 cd ${S}
25 # Patch Makefile.am so we can take over some of is install work
26 #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed"
27 autoconf
28 }
29
30 src_compile() {
31 # SSL is optional
32 local sslconf
33 use ssl || sslconf="--disable-ssl"
34 ./configure \
35 ${sslconf} \
36 --prefix=/usr \
37 --infodir=/usr/share/doc/${PF} \
38 --sysconfdir=/etc \
39 --mandir=/usr/share/man || die "./configure failed"
40 cp Makefile Makefile.orig
41 sed -e "s/partimag\.root/root.root/g" Makefile.orig > Makefile
42 emake || die
43 }
44
45 src_install() {
46 make \
47 prefix=${D}/usr \
48 sysconfdir=${D}/etc \
49 mandir=${D}/usr/share/man \
50 infodir=${D}/usr/share/doc/${PF} \
51 install || die
52 }

  ViewVC Help
Powered by ViewVC 1.1.20