sys-fs/avfs-1.0.4: add slot for fuse dep and use relative symlink
authorTim Harder <radhermit@gentoo.org>
Wed, 11 Oct 2017 20:43:06 +0000 (15:43 -0500)
committerTim Harder <radhermit@gentoo.org>
Wed, 11 Oct 2017 20:46:56 +0000 (15:46 -0500)
sys-fs/avfs/avfs-1.0.4.ebuild

index 6a10095f50bbbf60152478cf6758d6ee08a1d773..141208a376cf91b4abccd4b585cd0836dc35c5d2 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-inherit eutils
+inherit ltprune
 
 DESCRIPTION="AVFS is a virtual filesystem that allows browsing of compressed files"
 HOMEPAGE="https://sourceforge.net/projects/avf"
@@ -13,7 +13,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
 IUSE="static-libs +lzma"
 
-RDEPEND=">=sys-fs/fuse-2.4
+RDEPEND=">=sys-fs/fuse-2.4:0
        sys-libs/zlib
        app-arch/bzip2
        lzma? ( app-arch/xz-utils )"
@@ -39,7 +39,7 @@ src_install() {
 
        # install docs
        dodoc doc/{api-overview,background,FORMAT,INSTALL.*,README.avfs-fuse}
-       dosym /usr/lib/avfs/extfs/README /usr/share/doc/${PF}/README.extfs
+       dosym ../../../$(get_libdir)/avfs/extfs/README /usr/share/doc/${PF}/README.extfs
 
        docinto scripts
        dodoc scripts/{avfscoda*,*pass}