summaryrefslogtreecommitdiffstats
path: root/extra/mtools/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mtools/Pkgfile')
-rw-r--r--extra/mtools/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/extra/mtools/Pkgfile b/extra/mtools/Pkgfile
new file mode 100644
index 000000000..48e46de10
--- /dev/null
+++ b/extra/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.15
+release=1
+source=(ftp://ftp.gnu.org/gnu/mtools/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ sed -i '/^SAMPLE FILE$/s:^:# :' mtools.conf
+
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --sysconfdir=/etc
+
+ make
+ make -j1 prefix=$PKG/usr install
+
+ install -Dm644 mtools.conf $PKG/etc/mtools.conf
+}