source: sys-block/partclone/partclone-0.2.66.ebuild @ 30c17af

Revision 30c17af, 1.9 KB checked in by Mario Fetka <mario.fetka@…>, 7 years ago (diff)

Bump

Package-Manager: portage-2.2.0_alpha188
RepoMan?-Options: --force

  • Property mode set to 100644
Line 
1# Copyright 1999-2013 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: $
4
5EAPI=4
6
7inherit autotools eutils
8
9DESCRIPTION="Partition cloning tool"
10HOMEPAGE="http://partclone.org"
11SRC_URI="mirror://sourceforge/partclone/testing/src/partclone-${PV}.tar.gz"
12
13LICENSE="GPL-2"
14SLOT="0"
15KEYWORDS="~amd64 ~arm ~x86"
16IUSE="+xfs +reiserfs +reiser4 hfsp +fat +ntfs +jfs +btrfs static mtrace"
17
18DEPEND=">=sys-fs/e2fsprogs-1.41.4
19        xfs? ( sys-fs/xfsprogs )
20        reiserfs? ( <sys-fs/progsreiserfs-0.3.1 )
21        reiser4? ( >=sys-fs/reiser4progs-1.0.7 )
22        hfsp? ( sys-fs/hfsutils )
23        fat? ( sys-fs/dosfstools )
24        ntfs? ( sys-fs/ntfs3g[ntfsprogs] )
25        jfs? ( >=sys-fs/jfsutils-1.1.15 )
26        btrfs? ( sys-fs/btrfs-progs )
27        "
28RDEPEND="${DEPEND}"
29
30src_prepare() {
31        epatch "${FILESDIR}/automake.patch"
32        epatch "${FILESDIR}/jfsclone-no-return.patch"
33        eautoreconf
34}
35
36src_configure() {
37        local myconf=""
38        use xfs && myconf="${myconf} --enable-xfs"
39                use xfs && myconf="${myconf} --enable-xfs"
40                use reiserfs && myconf="${myconf} --enable-reiserfs"
41                use reiser4 && myconf="${myconf} --enable-reiser4"
42                use hfsp && myconf="${myconf} --enable-hfsp"
43                use fat && myconf="${myconf} --enable-fat"
44                use ntfs && myconf="${myconf} --enable-ntfs"
45                use jfs && myconf="${myconf} --enable-jfs"
46                use btrfs && myconf="${myconf} --enable-btrfs"
47                use static && myconf="${myconf} --enable-static"
48                use mtrace && myconf="${myconf} --enable-mtrace"
49        econf ${myconf} \
50                --enable-extfs \
51                --enable-ncursesw
52}
53
54src_install() {
55        emake DESTDIR="${D}" install || die "make install failed"
56#       cd ${S}/src
57#       dosbin partclone.dd partclone.restore partclone.chkimg
58#       dosbin partclone.extfs
59#       use xfs && dosbin partclone.xfs
60#       use reiserfs && dosbin partclone.reiserfs
61#       use reiser4 && dosbin partclone.reiser4
62#       use hfs && dosbin partclone.hfsp
63#       use fat && dosbin partclone.fat
64#       use ntfs && dosbin partclone.ntfs
65#       use ntfs && dosbin partclone.ntfsfixboot
66}
67
Note: See TracBrowser for help on using the repository browser.