/[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.17 - (show annotations) (download)
Sun Jan 16 15:30:56 2005 UTC (15 years, 1 month ago) by xmerlin
Branch: MAIN
Changes since 1.16: +8 -2 lines
Update Copyright years, fixed bugs #69231,#59873, added swift@gentoo.org init script and conf, added man pages, added partimagedusers.5, added
partimage-0.6.4-r2 with a massive cleanup.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/partimage/partimage-0.6.2.ebuild,v 1.16 2004/10/28 19:17:43 blubb Exp $
4
5 inherit gnuconfig
6
7 DESCRIPTION="Console-based application to efficiently save raw partition data to an image file. Optional encryption/compression support."
8 HOMEPAGE="http://www.partimage.org/"
9 SRC_URI="mirror://sourceforge/partimage/${P}.tar.bz2"
10 LICENSE="GPL-2"
11 SLOT="0"
12 KEYWORDS="x86"
13 IUSE="ssl"
14
15 RDEPEND="virtual/libc
16 >=sys-libs/zlib-1.1.4
17 >=dev-libs/lzo-1.08
18 >=dev-libs/newt-0.50.35-r1
19 >=sys-libs/slang-1.4.5-r2
20 app-arch/bzip2
21 ssl? ( >=dev-libs/openssl-0.9.6g )"
22
23 DEPEND="${RDEPEND} sys-devel/autoconf"
24
25 src_unpack() {
26 unpack ${A}
27 cd ${S}
28 # Patch Makefile.am so we can take over some of is install work
29 #patch -p1 < ${FILESDIR}/${PF}-gentoo.patch || die "patch failed"
30 autoconf
31
32 gnuconfig_update
33 }
34
35 src_compile() {
36 # SSL is optional
37 local sslconf
38 use ssl || sslconf="--disable-ssl"
39 econf \
40 ${sslconf} \
41 --infodir=/usr/share/doc/${PF} || die "econf failed"
42 cp Makefile Makefile.orig
43 sed -e "s/partimag\.root/root:root/g" Makefile.orig > Makefile
44 emake || die
45 }
46
47 src_install() {
48 make \
49 prefix=${D}/usr \
50 sysconfdir=${D}/etc \
51 mandir=${D}/usr/share/man \
52 infodir=${D}/usr/share/doc/${PF} \
53 localedir=${D}/usr/share/locale \
54 gettextsrcdir=${D}/usr/share/gettext/po \
55 install || die
56
57 # init.d / conf.d
58 exeinto /etc/init.d ; newexe ${FILESDIR}/${PN}d.init ${PN}d || die
59 insinto /etc/conf.d ; newins ${FILESDIR}/${PN}d.conf ${PN}d || die
60
61 doman debian/partimage.1 debian/partimaged.8 ${FILESDIR}/partimagedusers.5 || die
62 }

  ViewVC Help
Powered by ViewVC 1.1.20