Added ntfs-3g-2009.11.14 build template.

--HG--
extra : convert_revision : 174cd15cfa2b2d2af346ea4aef957fc56c8aabae
This commit is contained in:
Juan RP 2009-11-30 08:01:38 +01:00
parent 3f192e1b33
commit d569d6983e
4 changed files with 85 additions and 0 deletions

1
srcpkgs/ntfs-3g-devel Symbolic link
View file

@ -0,0 +1 @@
ntfs-3g

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<device>
<match key="volume.fstype" string="ntfs">
<append key="volume.fstype.alternative" type="copy_property">volume.fstype</append>
<merge key="volume.mount.ntfs.valid_options" type="copy_property">volume.mount.valid_options</merge>
<merge key="volume.unmount.ntfs.valid_options" type="copy_property">volume.unmount.valid_options</merge>
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.mount.valid_options" type="strlist">ro</merge>
<append key="volume.mount.valid_options" type="strlist">atime</append>
<append key="volume.mount.valid_options" type="strlist">noatime</append>
<append key="volume.mount.valid_options" type="strlist">relatime</append>
<append key="volume.mount.valid_options" type="strlist">fake_rw</append>
<append key="volume.mount.valid_options" type="strlist">no_def_opts</append>
<append key="volume.mount.valid_options" type="strlist">default_permissions</append>
<append key="volume.mount.valid_options" type="strlist">umask=</append>
<append key="volume.mount.valid_options" type="strlist">fmask=</append>
<append key="volume.mount.valid_options" type="strlist">dmask=</append>
<append key="volume.mount.valid_options" type="strlist">uid=</append>
<append key="volume.mount.valid_options" type="strlist">gid=</append>
<append key="volume.mount.valid_options" type="strlist">show_sys_files</append>
<append key="volume.mount.valid_options" type="strlist">silent</append>
<append key="volume.mount.valid_options" type="strlist">force</append>
<append key="volume.mount.valid_options" type="strlist">remove_hiberfile</append>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
<append key="volume.mount.valid_options" type="strlist">streams_interface=</append>
<append key="volume.mount.valid_options" type="strlist">debug</append>
<append key="volume.mount.valid_options" type="strlist">no_detatch</append>
<append key="volume.mount.valid_options" type="strlist">sync</append>
<append key="volume.mount.valid_options" type="strlist">dirsync</append>
<append key="volume.mount.valid_options" type="strlist">nodiratime</append>
<append key="volume.mount.valid_options" type="strlist">noexec</append>
<append key="volume.mount.valid_options" type="strlist">quiet</append>
<append key="volume.mount.valid_options" type="strlist">remount</append>
<append key="volume.mount.valid_options" type="strlist">exec</append>
<append key="volume.mount.valid_options" type="strlist">recover</append>
<append key="volume.mount.valid_options" type="strlist">norecover</append>
<merge key="volume.unmount.valid_options" type="strlist">lazy</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
</match>
</device>
</deviceinfo>

View file

@ -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
}

26
srcpkgs/ntfs-3g/template Normal file
View file

@ -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 <xtraeme@gmail.com>"
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
}