# Template file for 'ntfs-3g'
pkgname=ntfs-3g
version=2010.10.2
distfiles="http://www.tuxera.com/opensource/$pkgname-$version.tgz"
build_style=gnu_configure
configure_args="--bindir=/bin --disable-static --with-fuse=external"
short_desc="Stable Read/Write NTFS Driver in userspace"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=17c7e7f1ea22951bdefaa8aa0e36a011f65fbc76fc3511d16433c46d899e9e71
long_desc="
 The NTFS-3G driver is a freely and commercially available and supported
 read/write NTFS driver for Linux, Mac OS X, FreeBSD, NetBSD, OpenSolaris,
 QNX, Haiku, and other operating systems. It provides safe and fast handling
 of the Windows XP, Windows Server 2003, Windows 2000, Windows Vista, Windows
 Server 2008 and Windows 7 file systems."

subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run fuse
Add_dependency build fuse-devel

post_install()
{
	install -d ${DESTDIR}/usr/share/hal/fdi/policy/10osvendor
	install -m644 ${FILESDIR}/25-ntfs-config-write-policy.fdi \
		${DESTDIR}//usr/share/hal/fdi/policy/10osvendor
}
