diff options
author | Viorel Munteanu <ceamac.paragon@gmail.com> | 2021-03-30 18:19:50 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-03-31 10:40:19 +0300 |
commit | a6d06fd1485398c27dcb6137014aad292fb526f9 (patch) | |
tree | f9ad79ddae879a024edd08d12787be556bab3b52 /app-backup/dar | |
parent | dev-libs/libthreadar: drop libthreadar-1.3.0 (diff) | |
download | gentoo-a6d06fd1485398c27dcb6137014aad292fb526f9.tar.gz gentoo-a6d06fd1485398c27dcb6137014aad292fb526f9.tar.bz2 gentoo-a6d06fd1485398c27dcb6137014aad292fb526f9.zip |
app-backup/dar: add dar-2.6.14
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-backup/dar')
-rw-r--r-- | app-backup/dar/Manifest | 1 | ||||
-rw-r--r-- | app-backup/dar/dar-2.6.14.ebuild | 88 |
2 files changed, 89 insertions, 0 deletions
diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest index fa5b37aa1d90..6b46f2f499cf 100644 --- a/app-backup/dar/Manifest +++ b/app-backup/dar/Manifest @@ -1 +1,2 @@ DIST dar-2.6.13.tar.gz 2148732 BLAKE2B 51de01793dead832209671569f8054b1de3b5fa810c786ae675207b6dc3e639a5c036896e1688e017b222fbaa6c011494a9d43b3bb2b16570a38e291f893b73f SHA512 f0f853db6e15f5abfabf87be06a1c374662c7fa7e1140eaaeef3e8c8c4d0049a00a8e74409d6805ea3ae5b2f3171f2eba27459e8acb4438c467c4f0bd0825c0c +DIST dar-2.6.14.tar.gz 2148023 BLAKE2B 36653d798d1da9cd87e84d2301b9f1fd657e92d1eee91ec1efadb54e94638860103c5e509479a2da846d432328e0a93ae92e1a4d23b6956ca55341ef767fe9a8 SHA512 2b116929fcc192ffee0c266959902b45dc9982ba77e017b3217715e0c63d1574d64083ca55a63e0bb6390e8955c41ca8b09da63934826fe4f0471a63ea739550 diff --git a/app-backup/dar/dar-2.6.14.ebuild b/app-backup/dar/dar-2.6.14.ebuild new file mode 100644 index 000000000000..414cefd61db1 --- /dev/null +++ b/app-backup/dar/dar-2.6.14.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic + +DESCRIPTION="A full featured backup tool, aimed for disks" +HOMEPAGE="http://dar.linux.free.fr/" +SRC_URI="mirror://sourceforge/dar/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux" +IUSE="curl dar32 dar64 doc gcrypt gpg lzo nls rsync threads xattr" + +RESTRICT="test" # need to be run as root + +RDEPEND=" + app-arch/bzip2:= + app-arch/xz-utils:= + sys-libs/libcap + >=sys-libs/zlib-1.2.3:= + curl? ( net-misc/curl ) + gcrypt? ( dev-libs/libgcrypt:0= ) + gpg? ( app-crypt/gpgme ) + lzo? ( dev-libs/lzo:= ) + rsync? ( net-libs/librsync:= ) + threads? ( dev-libs/libthreadar:= ) + xattr? ( sys-apps/attr:= ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + doc? ( app-doc/doxygen ) + nls? ( + sys-devel/gettext + virtual/libintl + ) +" + +REQUIRED_USE="?? ( dar32 dar64 ) + gpg? ( gcrypt )" + +DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO ) + +src_configure() { + # configure.ac is totally funked up regarding the AC_ARG_ENABLE + # logic. + # For example "--enable-dar-static" causes configure to DISABLE + # static builds of dar. + # Do _not_ use $(use_enable) until you have verified that the + # logic has been fixed by upstream. + local myconf=( + --disable-dar-static + --disable-python-binding + --disable-static + --disable-upx + $(usex curl '' --disable-libcurl-linking) + $(usex dar32 --enable-mode=32 '') + $(usex dar64 --enable-mode=64 '') + $(usex doc '' --disable-build-html) + $(usex gcrypt '' --disable-libgcrypt-linking) + $(usex gpg '' --disable-gpgme-linking) + $(usex lzo '' --disable-liblzo2-linking) + $(usex nls '' --disable-nls) + $(usex rsync '' --disable-librsync-linking) + $(usex threads '' --disable-threadar) + $(usex xattr '' --disable-ea-support) + ) + + # Bug 103741 + filter-flags -fomit-frame-pointer + + econf "${myconf[@]}" +} + +src_install() { + emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install + + einstalldocs + + find "${ED}" \( -name "*.a" -o -name "*.la" \) -delete || die + + # Bug 729150 + rm "${ED}/usr/share/doc/${PF}/html/samples/MyBackup.sh.tar.gz" || die +} |