aboutsummaryrefslogtreecommitdiff
path: root/system/ntfs-3g
diff options
context:
space:
mode:
authorcore <eroc@linuxmail.org>2010-05-11 15:18:42 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 15:18:42 +0200
commitb18c3ea4e657fd400467b6576c1dcffe21f40083 (patch)
tree6979ceb743efadd41efa9792e6046cfde67bcbbf /system/ntfs-3g
parent870fc227989e5f5ae2011bc506329f862003c0f5 (diff)
system/ntfs-3g: Initial import
Diffstat (limited to 'system/ntfs-3g')
-rw-r--r--system/ntfs-3g/README11
-rw-r--r--system/ntfs-3g/ntfs-3g.SlackBuild63
-rw-r--r--system/ntfs-3g/ntfs-3g.info8
-rw-r--r--system/ntfs-3g/slack-desc11
4 files changed, 93 insertions, 0 deletions
diff --git a/system/ntfs-3g/README b/system/ntfs-3g/README
new file mode 100644
index 0000000000000..7e76ea645a134
--- /dev/null
+++ b/system/ntfs-3g/README
@@ -0,0 +1,11 @@
+ntfs-3g - NTFS-3G Read/Write Driver
+
+The NTFS-3G driver is an open source, freely available NTFS driver
+for Linux with read and write support. It provides safe and fast
+handling of the Windows XP, Windows Server 2003, Windows 2000 and
+Windows Vista file systems. Most POSIX file system operations are
+supported, with the exception of full file ownership and access
+right support.
+
+This package requires FUSE 2.6.0 or later to guarantee full data
+safety, for which a package is available from SlackBuilds.org.
diff --git a/system/ntfs-3g/ntfs-3g.SlackBuild b/system/ntfs-3g/ntfs-3g.SlackBuild
new file mode 100644
index 0000000000000..6ef358ff75616
--- /dev/null
+++ b/system/ntfs-3g/ntfs-3g.SlackBuild
@@ -0,0 +1,63 @@
+#!/bin/sh
+
+# Slackware build script for ntfs-3g
+
+# Written by core <eroc@linuxmail.org>
+
+set -e
+
+PRGNAM=ntfs-3g
+VERSION=1.516
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=`pwd`
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG/usr $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xzvf $CWD/$PRGNAM-$VERSION.tgz
+cd $PRGNAM-$VERSION
+chown -R root:root .
+chmod -R a-s,u+rw,go-w .
+
+CFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --enable-shared=yes \
+ --enable-static=no
+
+make
+make install DESTDIR=$PKG
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
+)
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in `find . -type l` ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING CREDITS INSTALL \
+ NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
diff --git a/system/ntfs-3g/ntfs-3g.info b/system/ntfs-3g/ntfs-3g.info
new file mode 100644
index 0000000000000..09022269f1e2f
--- /dev/null
+++ b/system/ntfs-3g/ntfs-3g.info
@@ -0,0 +1,8 @@
+PRGNAM="ntfs-3g"
+VERSION="1.516"
+HOMEPAGE="http://www.ntfs-3g.org"
+DOWNLOAD="http://www.ntfs-3g.org/ntfs-3g-1.516.tgz"
+MD5SUM="d8527df764193abb16af3a2248bdd8b5"
+MAINTAINER="core"
+EMAIL="eroc@linuxmail.org"
+APPROVED="BP{k}"
diff --git a/system/ntfs-3g/slack-desc b/system/ntfs-3g/slack-desc
new file mode 100644
index 0000000000000..96d96a4fb7d40
--- /dev/null
+++ b/system/ntfs-3g/slack-desc
@@ -0,0 +1,11 @@
+ntfs-3g: ntfs-3g - NTFS-3G Read/Write Driver
+ntfs-3g:
+ntfs-3g: The NTFS-3G driver is an open source, freely available NTFS driver
+ntfs-3g: for Linux with read and write support. It provides safe and fast
+ntfs-3g: handling of the Windows XP, Windows Server 2003, Windows 2000 and
+ntfs-3g: Windows Vista file systems. Most POSIX file system operations are
+ntfs-3g: supported, with the exception of full file ownership and access
+ntfs-3g: right support.
+ntfs-3g:
+ntfs-3g: Homepage: http://www.ntfs-3g.org
+ntfs-3g: