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