1 # Copyright 1999-2014 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.16 )
27 ext4? ( sys-fs/e2fsprogs )
30 xattr? ( sys-apps/attr )"
36 DOCS=( AUTHORS README )
39 epatch "${FILESDIR}"/cron-confd.patch
44 --with-conf="/etc/conf.d"
45 --docdir="/usr/share/doc/${PF}"
51 $(use_enable xattr xattrs)
54 econf "${myeconfargs[@]}"
59 # Existing configuration file required to function
60 newconfd data/sysconfig.snapper snapper
65 elog "In order to use Snapper, you need to set up"
66 elog "at least one config first. To do this, run:"
67 elog "snapper create-config <subvolume>"
68 elog "For more information, see man (8) snapper or"
69 elog "http://snapper.io/documentation.html"