Navigation

Project: wok

Clone project: hg clone http://hg.slitaz.org/wok

  • Download tarball:
  • bz2
  • gz

Search

wok changeset 14103:6e4353070e4a

ntfs-3g: up to 2013.1.13 + fix to make udisks use it to mount ntfs
author ernia <monghitri@aruba.it>
date Sat Feb 23 22:19:37 2013 +0000 (21 months ago ago)
parents 25a8997078e8
children 977fcec7f161
files ntfs-3g-dev/receipt ntfs-3g/receipt
line diff
     1.1 --- a/ntfs-3g-dev/receipt	Sat Feb 23 09:22:39 2013 -0800
     1.2 +++ b/ntfs-3g-dev/receipt	Sat Feb 23 22:19:37 2013 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ntfs-3g-dev"
     1.7 -VERSION="2011.1.15"
     1.8 +VERSION="2013.1.13"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The free ntfs driver devel files."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/ntfs-3g/receipt	Sat Feb 23 09:22:39 2013 -0800
     2.2 +++ b/ntfs-3g/receipt	Sat Feb 23 22:19:37 2013 +0000
     2.3 @@ -1,14 +1,15 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="ntfs-3g"
     2.7 -VERSION="2011.1.15"
     2.8 +VERSION="2013.1.13"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="The free ntfs driver."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  DEPENDS="fuse attr"
    2.13 -BUILD_DEPENDS="attr-dev"
    2.14 -TARBALL="$PACKAGE-$VERSION.tgz"
    2.15 -WEB_SITE="http://www.tuxera.com/opensource/" 
    2.16 +BUILD_DEPENDS="fuse-dev attr-dev"
    2.17 +SOURCE="ntfs-3g_ntfsprogs"
    2.18 +TARBALL="$SOURCE-$VERSION.tgz"
    2.19 +WEB_SITE="http://tuxera.com/opensource"
    2.20  WGET_URL="$WEB_SITE/$TARBALL"
    2.21  CONFIG_FILES="/etc/filesystems"
    2.22  TAGS="windows"
    2.23 @@ -17,9 +18,9 @@
    2.24  compile_rules()
    2.25  {
    2.26  	cd $src
    2.27 -	sed -i 's/\terr = ntfs_open\(.*\);/\tntfs_log_clear_levels((u32) -1); if (err = ntfs_open\1) goto err2;/' \
    2.28 -		src/ntfs-3g.c
    2.29  	./configure --prefix=/usr \
    2.30 +	--disable-static \
    2.31 +	--with-fuse=external \
    2.32  	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    2.33  	make &&
    2.34  	make DESTDIR=$PWD/_pkg install
    2.35 @@ -28,14 +29,17 @@
    2.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.37  genpkg_rules()
    2.38  {
    2.39 -	mkdir -p $fs/lib $fs/usr/lib $fs/etc \
    2.40 -			 $fs/usr/share/hal/fdi/policy/10osvendor
    2.41 -	cp -a $_pkg/bin $fs/
    2.42 -	cp -a $_pkg/sbin $fs/
    2.43 -	cp -a $_pkg/lib/*.so* $fs/lib
    2.44 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.45 -	cp -a $_pkg/usr/bin $fs/usr
    2.46 +	mkdir -p $fs/lib $fs/usr/lib $fs/etc $fs/sbin $fs/usr/bin
    2.47 +	cp -a $install/bin $fs/
    2.48 +	cp -a $install/sbin/*-3g $fs/sbin
    2.49 +	cp -a $install/lib/*-3g.so* $fs/lib
    2.50 +	cp -a $install/usr/lib/*-3g.so* $fs/usr/lib
    2.51 +	cp -a $install/usr/bin/*-3g* $fs/usr/bin
    2.52  	touch $fs/etc/filesystems
    2.53 +	#this link allow udisks to use ntfs-3g
    2.54 +	cd $fs/sbin
    2.55 +	ln -s mount.ntfs-3g mount.ntfs
    2.56 +	
    2.57  }
    2.58  
    2.59  # Pre remove and post install commands for Tazpkg.