You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-backup/tarsnap/tarsnap-1.0.33.ebuild

37 lines
917 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/tarsnap/tarsnap-1.0.33.ebuild,v 1.2 2012/08/12 09:07:47 ssuominen Exp $
EAPI=4
DESCRIPTION="Online backups for the truly paranoid"
HOMEPAGE="http://www.tarsnap.com/"
SRC_URI="https://www.tarsnap.com/download/${PN}-autoconf-${PV}.tgz"
LICENSE="tarsnap"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="acl bzip2 lzma sse2 xattr"
RDEPEND="dev-libs/openssl:0
sys-libs/e2fsprogs-libs
sys-libs/zlib
acl? ( sys-apps/acl )
bzip2? ( app-arch/bzip2 )
lzma? ( app-arch/xz-utils )
xattr? ( sys-apps/attr )"
DEPEND="${RDEPEND}
virtual/os-headers" # Required for "magic.h"
S=${WORKDIR}/${PN}-autoconf-${PV}
src_configure() {
econf \
$(use_enable sse2) \
$(use_enable xattr) \
$(use_enable acl) \
$(use_with bzip2 bz2lib) \
--without-lzmadec \
$(use_with lzma)
}