diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-16 22:05:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-16 22:05:01 +0100 |
commit | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (patch) | |
tree | 125ee67bb9e0d548771cf7b61d04bb1f0dc57687 /app-backup/tarsnap/tarsnap-1.0.39-r1.ebuild | |
parent | 677b7ba5c317778df2ad7e70df94b9b7eec4adbc (diff) |
gentoo resync : 16.09.2021
Diffstat (limited to 'app-backup/tarsnap/tarsnap-1.0.39-r1.ebuild')
-rw-r--r-- | app-backup/tarsnap/tarsnap-1.0.39-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-backup/tarsnap/tarsnap-1.0.39-r1.ebuild b/app-backup/tarsnap/tarsnap-1.0.39-r1.ebuild new file mode 100644 index 000000000000..86a9ffb2512d --- /dev/null +++ b/app-backup/tarsnap/tarsnap-1.0.39-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit bash-completion-r1 toolchain-funcs + +DESCRIPTION="Online backups for the truly paranoid" +HOMEPAGE="https://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 xattr" + +RDEPEND=" + dev-libs/openssl:0= + sys-fs/e2fsprogs + 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" + +PATCHES=( "${FILESDIR}"/${PN}-1.0.39-respect-AR.patch ) + +S=${WORKDIR}/${PN}-autoconf-${PV} + +src_configure() { + econf \ + $(use_enable xattr) \ + $(use_enable acl) \ + $(use_with bzip2 bz2lib) \ + --without-lzmadec \ + $(use_with lzma) +} + +src_compile() { + emake AR=$(tc-getAR) +} + +src_install() { + default + dobashcomp misc/bash_completion.d/* +} |