1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 MY_P=${PN/3g-ar/-3g}-${PV/_pre/AR.}
9 DESCRIPTION="NTFS-3G variant supporting ACLs, junction points, compression and more"
10 HOMEPAGE="http://pagesperso-orange.fr/b.andre/advanced-ntfs-3g.html"
11 SRC_URI="http://pagesperso-orange.fr/b.andre/${MY_P}.tgz"
15 KEYWORDS="~amd64 ~x86"
18 RDEPEND="hal? ( sys-apps/hal )
23 S="${WORKDIR}/${MY_P}"
27 --docdir="/usr/share/doc/${PF}" \
30 --with-fuse=external \
35 emake DESTDIR="${D}" install || die "install failed"
37 prepalldocs || die "prepalldocs failed"
38 dodoc AUTHORS ChangeLog CREDITS || die "dodoc failed"
41 fperms u+s "/bin/${PN/3g-ar/-3g}" || die "could not change file permisions"
45 insinto /etc/hal/fdi/policy/
46 newins "${FILESDIR}/10-ntfs3g.fdi.2009" "10-ntfs3g.fdi" || die "installation of 10-ntfs3g.fdi.2009 failed"
51 ewarn "This is an advanced features release of the ntfs-3g package. It"
52 ewarn "passes standard tests on i386 and x86_64 CPUs but users should"
53 ewarn "still backup their data. More info at:"
54 ewarn "http://pagesperso-orange.fr/b.andre/advanced-ntfs-3g.html"
58 ewarn "You have chosen to install ntfs-3g with the binary setuid root. This"
59 ewarn "means that if there any undetected vulnerabilities in the binary,"
60 ewarn "then local users may be able to gain root access on your machine."