sys-block/partclone: Initial checkin based on ebuild from systemrescuecd ebuild

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@2189 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
geos_one 2010-05-09 08:36:20 +00:00
parent 580b0ce19c
commit e0295592e8
4 changed files with 109 additions and 0 deletions

View File

@ -0,0 +1,8 @@
# ChangeLog for sys-block/partclone
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
09 May 2010; Mario Fetka <mario.fetka@gmail.com> +partclone-0.2.8.ebuild,
+metadata.xml:
Initial checkin based on ebuild from systemrescuecd ebuild

View File

@ -0,0 +1,6 @@
DIST partclone_0.1.9-4.tar.gz 256852 RMD160 d4a4091d4f0064caaf9420bff6919ee57bba8d24 SHA1 cb5da09d724d07574d7ce18e2ebe91bab648d0ef SHA256 b8a4fd28b4f41bc5c53224665b40f385440ad6f290fe9576125da31e960e9114
DIST partclone_0.2.8.tar.gz 276799 RMD160 c68938dc9f24112b8266c70fe989894de605e5c7 SHA1 f053bbfbd6e4384deb0f45480dcd72d2b0a1ff08 SHA256 24d3fc1071aff7a4add24b32804e579306cf5b4dd7234ec4baec7316294eb551
EBUILD partclone-0.1.9.ebuild 1546 RMD160 2ab575a28d749cd143e366f0c471be2ead87a5e3 SHA1 eba8bee37ca7c1ab1bf5ab3563f9b5a14eaf250a SHA256 5a354c3485e00dae806a0de660ffc90d375ea389c1561a3cdea12253f335b6cf
EBUILD partclone-0.2.8.ebuild 1548 RMD160 268464b1c8528feec36f34e3b7fff1cfc328291e SHA1 f33328cac2545f327af032a9b69b8caed876a979 SHA256 4ddefb5dc1c49a6034ad71b02d39b7d75009e0e3162ff974ff2b6c4c5ce98288
MISC ChangeLog 275 RMD160 f38c8aa394918d56ca704cfc44eed6465e6c8785 SHA1 cf22761cac0965be9462a7103d429cf29335aed3 SHA256 e81505e9c0dd3028025d0a1a10e46426235bc70f8da540daf08785e9271b2287
MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<!--
$Header: /var/cvsroot/gentoo-x86/skel.metadata.xml,v 1.18 2008/07/28 19:27:05 cardoe Exp $
This is the example metadata file.
The root element of this file is <pkgmetadata>. Within this element a
number of subelements are allowed: herd, maintainer, and
longdescription. herd is a required subelement.
For a full description look at:
http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=4
Before committing, please remove the comments from this file. They are
not relevant for general metadata.xml files.
-->
<pkgmetadata>
<herd>no-herd</herd>
<maintainer>
<email>@gentoo.org</email>
<!-- <description>Description of the maintainership</description> -->
</maintainer>
<!-- <longdescription>Long description of the package</longdescription> -->
<!--
<use>
<flag name='flag'>Description of how USE='flag' affects this package</flag>
<flag name='userland_GNU'>Description of how USERLAND='GNU' affects this
package</flag>
<flag name='aspell'>Uses <pkg>app-text/aspell</pkg> for spell checking.
Requires an installed dictionary from <cat>app-dicts</cat></flag>
</use>
-->
</pkgmetadata>

View File

@ -0,0 +1,61 @@
inherit eutils
DESCRIPTION="Partition cloning tool"
HOMEPAGE="http://partclone.org"
SRC_URI="mirror://sourceforge/partclone/partclone_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="xfs reiserfs reiser4 hfs fat ntfs "
RDEPEND="${common_depends}
>=sys-fs/e2fsprogs-1.41.4
fat? ( sys-fs/dosfstools )
ntfs? ( sys-fs/ntfsprogs )
hfs? ( sys-fs/hfsutils )
jfs? ( sys-fs/jfsutils )
reiserfs? ( sys-fs/progsreiserfs )
reiser4? ( sys-fs/reiser4progs )
xfs? ( <=sys-fs/xfsprogs-3 )"
DEPEND=""
src_unpack()
{
unpack ${A}
#mv partclone partclone-${PV}
cd ${S}
}
src_compile()
{
local myconf
myconf="${myconf} --enable-extfs --enable-ncursesw"
use xfs && myconf="${myconf} --enable-xfs"
use reiserfs && myconf="${myconf} --enable-reiserfs"
use reiser4 && myconf="${myconf} --enable-reiser4"
use hfs && myconf="${myconf} --enable-hfsp"
use fat && myconf="${myconf} --enable-fat"
use ntfs && myconf="${myconf} --enable-ntfs"
use xfs && myconf="${myconf} --enable-xfs"
econf ${myconf} || die "econf failed"
emake || die "make failed"
}
src_install()
{
#emake install || die "make install failed"
#emake DIST_ROOT="${D}" install || die "make install failed"
cd ${S}/src
dosbin partclone.dd partclone.restore partclone.chkimg
dosbin partclone.extfs
use xfs && dosbin partclone.xfs
use reiserfs && dosbin partclone.reiserfs
use reiser4 && dosbin partclone.reiser4
use hfs && dosbin partclone.hfsp
use fat && dosbin partclone.fat
use ntfs && dosbin partclone.ntfs
use ntfs && dosbin partclone.ntfsfixboot
}