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