wok-6.x diff ntfs-3g/receipt @ rev 14103
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 (2013-02-23) |
parents | 793a2e0f47a2 |
children | 58941a070b50 |
line diff
1.1 --- a/ntfs-3g/receipt Sun Jan 23 20:32:59 2011 +0000 1.2 +++ b/ntfs-3g/receipt Sat Feb 23 22:19:37 2013 +0000 1.3 @@ -1,14 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ntfs-3g" 1.7 -VERSION="2011.1.15" 1.8 +VERSION="2013.1.13" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="The free ntfs driver." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 DEPENDS="fuse attr" 1.13 -BUILD_DEPENDS="attr-dev" 1.14 -TARBALL="$PACKAGE-$VERSION.tgz" 1.15 -WEB_SITE="http://www.tuxera.com/opensource/" 1.16 +BUILD_DEPENDS="fuse-dev attr-dev" 1.17 +SOURCE="ntfs-3g_ntfsprogs" 1.18 +TARBALL="$SOURCE-$VERSION.tgz" 1.19 +WEB_SITE="http://tuxera.com/opensource" 1.20 WGET_URL="$WEB_SITE/$TARBALL" 1.21 CONFIG_FILES="/etc/filesystems" 1.22 TAGS="windows" 1.23 @@ -17,9 +18,9 @@ 1.24 compile_rules() 1.25 { 1.26 cd $src 1.27 - sed -i 's/\terr = ntfs_open\(.*\);/\tntfs_log_clear_levels((u32) -1); if (err = ntfs_open\1) goto err2;/' \ 1.28 - src/ntfs-3g.c 1.29 ./configure --prefix=/usr \ 1.30 + --disable-static \ 1.31 + --with-fuse=external \ 1.32 --mandir=/usr/share/man $CONFIGURE_ARGS && 1.33 make && 1.34 make DESTDIR=$PWD/_pkg install 1.35 @@ -28,14 +29,17 @@ 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 genpkg_rules() 1.38 { 1.39 - mkdir -p $fs/lib $fs/usr/lib $fs/etc \ 1.40 - $fs/usr/share/hal/fdi/policy/10osvendor 1.41 - cp -a $_pkg/bin $fs/ 1.42 - cp -a $_pkg/sbin $fs/ 1.43 - cp -a $_pkg/lib/*.so* $fs/lib 1.44 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.45 - cp -a $_pkg/usr/bin $fs/usr 1.46 + mkdir -p $fs/lib $fs/usr/lib $fs/etc $fs/sbin $fs/usr/bin 1.47 + cp -a $install/bin $fs/ 1.48 + cp -a $install/sbin/*-3g $fs/sbin 1.49 + cp -a $install/lib/*-3g.so* $fs/lib 1.50 + cp -a $install/usr/lib/*-3g.so* $fs/usr/lib 1.51 + cp -a $install/usr/bin/*-3g* $fs/usr/bin 1.52 touch $fs/etc/filesystems 1.53 + #this link allow udisks to use ntfs-3g 1.54 + cd $fs/sbin 1.55 + ln -s mount.ntfs-3g mount.ntfs 1.56 + 1.57 } 1.58 1.59 # Pre remove and post install commands for Tazpkg.