# Template file for 'ntfs-3g'
pkgname=ntfs-3g
version=2011.1.15
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=d8a101002cd4cc493f5da5efd02f1860c32f46ed14a99e1356c6d376d39a0a6b
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
}
