/[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.5 Revision 1.11
1# Copyright 1999-2003 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.5 2003/05/14 22:14:30 robbat2 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="mirror://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-r1 18 >=dev-libs/newt-0.50.35-r1
17 >=sys-libs/slang-1.4.5-r2 19 >=sys-libs/slang-1.4.5-r2
18 sys-apps/bzip2 20 app-arch/bzip2
19 ssl? ( >=dev-libs/openssl-0.9.6g )" 21 ssl? ( >=dev-libs/openssl-0.9.6g )"
20 22
21DEPEND="${RDEPEND} sys-devel/autoconf" 23DEPEND="${RDEPEND} sys-devel/autoconf"
22 24
23src_unpack() { 25src_unpack() {
24 unpack ${A} 26 unpack ${A}
25 cd ${S} 27 cd ${S}
26 # 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
27 #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed" 29 #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed"
28 autoconf 30 autoconf
31
32 use amd64 && gnuconfig_update
29} 33}
30 34
31src_compile() { 35src_compile() {
32 # SSL is optional 36 # SSL is optional
33 local sslconf 37 local sslconf
34 use ssl || sslconf="--disable-ssl" 38 use ssl || sslconf="--disable-ssl"
35 econf \ 39 econf \
36 ${sslconf} \ 40 ${sslconf} \
37 --infodir=/usr/share/doc/${PF} 41 --infodir=/usr/share/doc/${PF}
38 cp Makefile Makefile.orig 42 cp Makefile Makefile.orig
39 sed -e "s/partimag\.root/root.root/g" Makefile.orig > Makefile 43 sed -e "s/partimag\.root/root:root/g" Makefile.orig > Makefile
40 emake || die 44 emake || die
41} 45}
42 46
43src_install() { 47src_install() {
44 make \ 48 make \

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

  ViewVC Help
Powered by ViewVC 1.1.20