summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-backup/dar')
-rw-r--r--app-backup/dar/Manifest1
-rw-r--r--app-backup/dar/dar-2.5.8.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/app-backup/dar/Manifest b/app-backup/dar/Manifest
index 43e80d09a146..e49883e332fc 100644
--- a/app-backup/dar/Manifest
+++ b/app-backup/dar/Manifest
@@ -4,3 +4,4 @@ DIST dar-2.4.23.tar.gz 1819248 SHA256 2338b5bdd17168db10aed75a2cf6abb99e8058a4e6
DIST dar-2.4.9.tar.gz 1751738 SHA256 3d11159a290886dde968e16d36f32fa8640029708457bc87cc0da6d0eac71643 SHA512 9a9b972599747493694fd838bafaa690e70490b5c500f084f0d0225e93a54ce40d61bc495827519c88f6a94542b88a1be5d11e5a98e672abe8659364d1b4c51f WHIRLPOOL f700bf7bd393e6dc2cce11e7bc56af0f130ea3fb714de04617a940ec15d6174c06b7a1051eb9c6ffa7a0ec686b1f13c288af1b541d49b332932743d0d617b56b
DIST dar-2.5.6.tar.gz 1879556 SHA256 47db04275d9f10f3a074e226d6fe760184e9694f1811a98f0b41e4f1dee30815 SHA512 cb707e7f95917de6eb0d221effe380d75abf49cd28bd97dd4a9056032f465aba5ee02eca08554fd5154bc4664946564723a6defa7d5d9cc4d9e62fe690e2095e WHIRLPOOL e9930b21b2d319b3df6e5f0bd1b19e4900b5863232a682b62c4324f13eafdb74e530ca8dc3b92801758f7facb1d20a21706cbbaa4436ac5a2a8ff163d582660c
DIST dar-2.5.7.tar.gz 1881075 SHA256 f4fa3b5d8d38a299e4463dbf77e104c572be669838e16a3d507dce7173d1561d SHA512 b8b81e31c63713fbacb79a1da17c5b2be4506e44b64667fe32ffbd5e5720798c7d34b000a6c78cb3ae482c77da00bd0f4169827c030b441a93861171dc73e98a WHIRLPOOL 5ef24ef7c4913474e5c6746e821f6d979fee118e1757a228742b444155998a280fccb32d108c777d1cf01904a9b38a07850e9d35bff43626217accee611f2f31
+DIST dar-2.5.8.tar.gz 1882127 SHA256 4f2968bb6f769ccfc4db880db4e3bd5596565b4674fa92000d2a17c7bdd4e825 SHA512 4cb2305173b4ae0ecd6649f69356c2e2972e67ae526a2ab03a2980ea57b18288887a351f79ca44171f2869cfd488b907204d03cc45ade7e790d775d49967b27a WHIRLPOOL 32a8cec804fc0e03389dabdf00ad15661e49d84612a350aeda7920991d106023ee655104ce54dbbdf76197b963abc83df29788279faa11ff6314874cfdd7c783
diff --git a/app-backup/dar/dar-2.5.8.ebuild b/app-backup/dar/dar-2.5.8.ebuild
new file mode 100644
index 000000000000..78edc49efcbd
--- /dev/null
+++ b/app-backup/dar/dar-2.5.8.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit confutils flag-o-matic
+
+DESCRIPTION="A full featured backup tool, aimed for disks (floppy,CDR(W),DVDR(W),zip,jazz etc.)"
+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="dar32 dar64 doc gcrypt gpg lzo nls static static-libs xattr"
+
+RESTRICT="test" # need to be run as root
+
+RDEPEND=">=sys-libs/zlib-1.2.3:=
+ !static? (
+ app-arch/bzip2:=
+ app-arch/xz-utils:=
+ sys-libs/libcap
+ gcrypt? ( dev-libs/libgcrypt:0= )
+ gpg? ( app-crypt/gpgme )
+ lzo? ( dev-libs/lzo:= )
+ xattr? ( sys-apps/attr:= )
+ )"
+
+DEPEND="${RDEPEND}
+ static? (
+ app-arch/bzip2[static-libs]
+ app-arch/xz-utils[static-libs]
+ sys-libs/libcap[static-libs]
+ sys-libs/zlib[static-libs]
+ gcrypt? ( dev-libs/libgcrypt:0=[static-libs] )
+ gpg? (
+ app-crypt/gpgme[static-libs]
+ dev-libs/libassuan[static-libs]
+ dev-libs/libgpg-error[static-libs]
+ )
+ lzo? ( dev-libs/lzo[static-libs] )
+ xattr? ( sys-apps/attr[static-libs] )
+ )
+ nls? (
+ sys-devel/gettext
+ virtual/libintl
+ )
+ doc? ( app-doc/doxygen )"
+
+REQUIRED_USE="?? ( dar32 dar64 )
+ gpg? ( gcrypt )"
+
+#PATCHES=(
+#)
+
+src_configure() {
+ local myconf=( --disable-upx )
+
+ # Bug 103741
+ filter-flags -fomit-frame-pointer
+
+ # 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.
+ use xattr || myconf+=( --disable-ea-support )
+ use dar32 && myconf+=( --enable-mode=32 )
+ use dar64 && myconf+=( --enable-mode=64 )
+ use doc || myconf+=( --disable-build-html )
+ # use examples && myconf+=( --enable-examples )
+ use gcrypt || myconf+=( --disable-libgcrypt-linking )
+ use gpg || myconf+=( --disable-gpgme-linking )
+ use lzo || myconf+=( --disable-liblzo2-linking )
+ use nls || myconf+=( --disable-nls )
+ if ! use static ; then
+ myconf+=( --disable-dar-static )
+ if ! use static-libs ; then
+ myconf+=( --disable-static )
+ fi
+ fi
+
+ econf ${myconf[@]}
+}
+
+src_install() {
+ emake DESTDIR="${D}" pkgdatadir="${EPREFIX}"/usr/share/doc/${PF}/html install
+
+ local DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
+ einstalldocs
+
+ if ! use static-libs ; then
+ prune_libtool_files --all
+ fi
+}