/[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.2 Revision 1.11
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2004 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.2 2002/12/23 06:46:58 drobbins Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/Attic/partimage-0.6.2.ebuild,v 1.11 2004/04/26 09:33:04 dholm Exp $
4
5inherit gnuconfig
4 6
5DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support." 7DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support."
6HOMEPAGE="http://www.partimage.org/" 8HOMEPAGE="http://www.partimage.org/"
7SRC_URI="http://unc.dl.sourceforge.net/sourceforge/partimage/${P}.tar.bz2" 9SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
8LICENSE="GPL-2" 10LICENSE="GPL-2"
9SLOT="0" 11SLOT="0"
10KEYWORDS="~x86" 12KEYWORDS="x86 ~amd64"
11IUSE="ssl" 13IUSE="ssl"
12 14
13RDEPEND="virtual/glibc 15RDEPEND="virtual/glibc
14 >=sys-libs/zlib-1.1.4 16 >=sys-libs/zlib-1.1.4
15 >=dev-libs/lzo-1.08 17 >=dev-libs/lzo-1.08
16 >=dev-libs/newt-0.50.35 18 >=dev-libs/newt-0.50.35-r1
17 >=sys-libs/slang-1.4.5-r2 19 >=sys-libs/slang-1.4.5-r2
20 app-arch/bzip2
18 ssl? ( >=dev-libs/openssl-0.9.6g )" 21 ssl? ( >=dev-libs/openssl-0.9.6g )"
19 22
20DEPEND="${RDEPEND} sys-devel/autoconf" 23DEPEND="${RDEPEND} sys-devel/autoconf"
21 24
22src_unpack() { 25src_unpack() {
23 unpack ${A} 26 unpack ${A}
24 cd ${S} 27 cd ${S}
25 # Patch Makefile.am so we can take over some of is install work 28 # Patch Makefile.am so we can take over some of is install work
26 #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed" 29 #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed"
27 autoconf 30 autoconf
31
32 use amd64 && gnuconfig_update
28} 33}
29 34
30src_compile() { 35src_compile() {
31 # SSL is optional 36 # SSL is optional
32 local sslconf 37 local sslconf
33 use ssl || sslconf="--disable-ssl" 38 use ssl || sslconf="--disable-ssl"
34 ./configure \ 39 econf \
35 ${sslconf} \ 40 ${sslconf} \
36 --prefix=/usr \
37 --infodir=/usr/share/doc/${PF} \ 41 --infodir=/usr/share/doc/${PF}
38 --sysconfdir=/etc \
39 --mandir=/usr/share/man || die "./configure failed"
40 cp Makefile Makefile.orig 42 cp Makefile Makefile.orig
41 sed -e "s/partimag\.root/root.root/g" Makefile.orig > Makefile 43 sed -e "s/partimag\.root/root:root/g" Makefile.orig > Makefile
42 emake || die 44 emake || die
43} 45}
44 46
45src_install() { 47src_install() {
46 make \ 48 make \
47 prefix=${D}/usr \ 49 prefix=${D}/usr \
48 sysconfdir=${D}/etc \ 50 sysconfdir=${D}/etc \
49 mandir=${D}/usr/share/man \ 51 mandir=${D}/usr/share/man \
50 infodir=${D}/usr/share/doc/${PF} \ 52 infodir=${D}/usr/share/doc/${PF} \
53 localedir=${D}/usr/share/locale \
54 gettextsrcdir=${D}/usr/share/gettext/po \
51 install || die 55 install || die
52} 56}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20