1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Command-line program for btrfs and ext4 snapshot management"
10 HOMEPAGE="http://snapper.io/"
11 SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+btrfs ext4 lvm pam xattr"
18 RDEPEND="dev-libs/boost:=[threads]
26 btrfs? ( >=sys-fs/btrfs-progs-3.17.1 )
27 ext4? ( sys-fs/e2fsprogs )
30 xattr? ( sys-apps/attr )"
36 REQUIRED_USE="|| ( btrfs ext4 lvm )"
38 DOCS=( AUTHORS README )
41 epatch "${FILESDIR}"/cron-confd.patch
46 --with-conf="/etc/conf.d"
47 --docdir="/usr/share/doc/${PF}"
54 $(use_enable xattr xattrs)
57 econf "${myeconfargs[@]}"
62 # Existing configuration file required to function
63 newconfd data/sysconfig.snapper snapper
68 elog "In order to use Snapper, you need to set up"
69 elog "at least one config first. To do this, run:"
70 elog "snapper create-config <subvolume>"
71 elog "For more information, see man (8) snapper or"
72 elog "http://snapper.io/documentation.html"