diff --git a/srcpkgs/ntfs-3g-devel b/srcpkgs/ntfs-3g-devel new file mode 120000 index 0000000000..ffd69ef886 --- /dev/null +++ b/srcpkgs/ntfs-3g-devel @@ -0,0 +1 @@ +ntfs-3g \ No newline at end of file diff --git a/srcpkgs/ntfs-3g/files/25-ntfs-config-write-policy.fdi b/srcpkgs/ntfs-3g/files/25-ntfs-config-write-policy.fdi new file mode 100644 index 0000000000..54195d8b37 --- /dev/null +++ b/srcpkgs/ntfs-3g/files/25-ntfs-config-write-policy.fdi @@ -0,0 +1,42 @@ + + + + + volume.fstype + volume.mount.valid_options + volume.unmount.valid_options + ntfs-3g + ro + atime + noatime + relatime + fake_rw + no_def_opts + default_permissions + umask= + fmask= + dmask= + uid= + gid= + show_sys_files + silent + force + remove_hiberfile + locale= + streams_interface= + debug + no_detatch + sync + dirsync + nodiratime + noexec + quiet + remount + exec + recover + norecover + lazy + ntfs-3g + + + diff --git a/srcpkgs/ntfs-3g/ntfs-3g-devel.template b/srcpkgs/ntfs-3g/ntfs-3g-devel.template new file mode 100644 index 0000000000..b1fe2b188d --- /dev/null +++ b/srcpkgs/ntfs-3g/ntfs-3g-devel.template @@ -0,0 +1,16 @@ +# Template file for 'ntfs-3g-devel'. +# +short_desc="${short_desc} (development files)" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run fuse-devel +Add_dependency run ntfs-3g + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/ntfs-3g/template b/srcpkgs/ntfs-3g/template new file mode 100644 index 0000000000..3b25d7a1f9 --- /dev/null +++ b/srcpkgs/ntfs-3g/template @@ -0,0 +1,26 @@ +# Template file for 'ntfs-3g' +pkgname=ntfs-3g +version=2009.11.14 +distfiles="http://www.ntfs-3g.org/$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 " +checksum=186d28c53614b57552900db46b2e2ecb6a7f0c2e3bb715b81fd2d691c1d8d9ce +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 full glibc +Add_dependency full fuse + +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 +}