summaryrefslogtreecommitdiffstats
path: root/base/mtools/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/mtools/Pkgfile')
-rw-r--r--base/mtools/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/base/mtools/Pkgfile b/base/mtools/Pkgfile
new file mode 100644
index 000000000..0f5a0b077
--- /dev/null
+++ b/base/mtools/Pkgfile
@@ -0,0 +1,25 @@
+# Description: Collection d'outils pour l'accès au système de fichiers MS-DOS
+# URL: http://mtools.linux.lu/
+# Maintainer: NuTyX
+# Packager: thierryn1 at hispeed dot ch
+
+name=mtools
+version=4.0.12
+release=1
+source=(ftp://ftp.gnu.org/gnu/mtools/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --datarootdir=$PKG/usr \
+ --sysconfdir=/etc
+ make
+ make -j1 prefix=$PKG/usr install
+ mkdir -p $PKG/usr/share
+ mv $PKG/usr/man $PKG/usr/share/man
+ mv $PKG/usr/info $PKG/usr/share/info
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+ mkdir -p $PKG/usr/share
+}