rdumpfs-0.1.ebuild 600 B

1234567891011121314151617181920212223242526272829
  1. # Copyright 1999-2015 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit vcs-snapshot
  5. COMMIT="b7e8e7b0efd9d73344e022e204f2e99e6321136e"
  6. DESCRIPTION="a rsync-based dump file system backup tool"
  7. HOMEPAGE="https://github.com/chneukirchen/rdumpfs"
  8. SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
  9. LICENSE="CC0-1.0"
  10. SLOT="0"
  11. KEYWORDS="~amd64"
  12. IUSE="+xattr"
  13. DEPEND=""
  14. RDEPEND="net-misc/rsync[xattr?]"
  15. src_prepare() {
  16. use xattr || sed -i '/RDUMPFS_DEFAULT_ARGS:=/s/aHAX/aHA/' "${PN}" || die
  17. }
  18. src_install() {
  19. dobin "${PN}"
  20. dodoc README
  21. }