/[gentoo-x86]/sys-apps/partimage/partimage-0.6.2.ebuild
Gentoo

Diff of /sys-apps/partimage/partimage-0.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2003 Gentoo Technologies, Inc. 1# Copyright 1999-2003 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/Attic/partimage-0.6.2.ebuild,v 1.4 2003/02/13 16:08:58 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/Attic/partimage-0.6.2.ebuild,v 1.5 2003/05/14 22:14:30 robbat2 Exp $
4 4
5DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support." 5DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support."
6HOMEPAGE="http://www.partimage.org/" 6HOMEPAGE="http://www.partimage.org/"
7SRC_URI="http://unc.dl.sourceforge.net/sourceforge/partimage/${P}.tar.bz2" 7SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
8LICENSE="GPL-2" 8LICENSE="GPL-2"
9SLOT="0" 9SLOT="0"
10KEYWORDS="~x86" 10KEYWORDS="x86"
11IUSE="ssl" 11IUSE="ssl"
12 12
13RDEPEND="virtual/glibc 13RDEPEND="virtual/glibc
14 >=sys-libs/zlib-1.1.4 14 >=sys-libs/zlib-1.1.4
15 >=dev-libs/lzo-1.08 15 >=dev-libs/lzo-1.08
16 >=dev-libs/newt-0.50.35-r1 16 >=dev-libs/newt-0.50.35-r1
17 >=sys-libs/slang-1.4.5-r2 17 >=sys-libs/slang-1.4.5-r2
18 sys-apps/bzip2
18 ssl? ( >=dev-libs/openssl-0.9.6g )" 19 ssl? ( >=dev-libs/openssl-0.9.6g )"
19 20
20DEPEND="${RDEPEND} sys-devel/autoconf" 21DEPEND="${RDEPEND} sys-devel/autoconf"
21 22
22src_unpack() { 23src_unpack() {
29 30
30src_compile() { 31src_compile() {
31 # SSL is optional 32 # SSL is optional
32 local sslconf 33 local sslconf
33 use ssl || sslconf="--disable-ssl" 34 use ssl || sslconf="--disable-ssl"
34 ./configure \ 35 econf \
35 ${sslconf} \ 36 ${sslconf} \
36 --prefix=/usr \
37 --infodir=/usr/share/doc/${PF} \ 37 --infodir=/usr/share/doc/${PF}
38 --sysconfdir=/etc \
39 --mandir=/usr/share/man || die "./configure failed"
40 cp Makefile Makefile.orig 38 cp Makefile Makefile.orig
41 sed -e "s/partimag\.root/root.root/g" Makefile.orig > Makefile 39 sed -e "s/partimag\.root/root.root/g" Makefile.orig > Makefile
42 emake || die 40 emake || die
43} 41}
44 42
46 make \ 44 make \
47 prefix=${D}/usr \ 45 prefix=${D}/usr \
48 sysconfdir=${D}/etc \ 46 sysconfdir=${D}/etc \
49 mandir=${D}/usr/share/man \ 47 mandir=${D}/usr/share/man \
50 infodir=${D}/usr/share/doc/${PF} \ 48 infodir=${D}/usr/share/doc/${PF} \
49 localedir=${D}/usr/share/locale \
50 gettextsrcdir=${D}/usr/share/gettext/po \
51 install || die 51 install || die
52} 52}

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20