summaryrefslogtreecommitdiffstats
path: root/extra/dosfstools/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/dosfstools/Pkgfile')
-rwxr-xr-xextra/dosfstools/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/dosfstools/Pkgfile b/extra/dosfstools/Pkgfile
new file mode 100755
index 000000000..65e85b888
--- /dev/null
+++ b/extra/dosfstools/Pkgfile
@@ -0,0 +1,28 @@
+# $Id: build,v 1.3 2008/06/20 17:41:31 install Exp root $
+# Description: Commandes MS-DOS FAT pour linux
+# URL: ftp://ftp.ibiblio.org/pub/Linux/system/filesystems/dosfs/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=dosfstools
+version=2.11
+release=1
+source=( http://fresh.t-systems-sfr.com/linux/src/$name-$version.src.tar.gz\
+ )
+
+build() {
+ cd $name-$version
+ make
+ mkdir -p $PKG/sbin
+ mkdir -p $PKG/usr/share/man/man8
+ cp dosfsck/dosfsck $PKG/sbin
+ cp dosfsck/dosfsck.8 $PKG/usr/share/man/man8
+ cp mkdosfs/mkdosfs $PKG/sbin
+ cp mkdosfs/mkdosfs.8 $PKG/usr/share/man/man8
+ cd $PKG/sbin && ln -s dosfsck fsck.msdos && ln -s dosfsck fsck.vfat \
+ && ln -s mkdosfs mkfs.msdos && ln -s mkdosfs mkfs.vfat
+ cd $PKG/usr/share/man/man8 && ln -s dosfsck.8 fsck.msdos.8 \
+ && ln -s dosfsck.8 fsck.vfat.8 && ln -s mkdosfs.8 mkfs.msdos.8 \
+ && ln -s mkdosfs.8 mkfs.vfat.8
+}