blob: 2c6b9f9dd9b040d4b816cf5588b3a31b13482f88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/fsarchiver/fsarchiver-0.6.17.ebuild,v 1.1 2013/03/15 19:17:08 hwoarang Exp $
EAPI="5"
inherit autotools eutils
DESCRIPTION="Flexible filesystem archiver for backup and deployment tool"
HOMEPAGE="http://www.fsarchiver.org"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug lzma lzo static"
DEPEND="dev-libs/libgcrypt
>=sys-fs/e2fsprogs-1.41.4
lzma? ( >=app-arch/xz-utils-4.999.9_beta )
lzo? ( >=dev-libs/lzo-2.02 )
static? ( lzma? ( app-arch/xz-utils[static-libs] ) )"
RDEPEND="${DEPEND}"
src_prepare() {
sed -i -e 's/^\([a-z]*_CFLAGS.*\)-ggdb/\1/' src/Makefile.am || die "seding
failed"
eautoreconf
}
src_configure() {
econf $(use_enable lzma) \
$(use_enable lzo) \
$(use_enable static) \
$(use_enable debug devel)
}
|