summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/mtools/.footprint (renamed from extra/mtools/.footprint)0
-rw-r--r--base/mtools/.md5sum1
-rw-r--r--base/mtools/Pkgfile (renamed from extra/mtools/Pkgfile)16
-rw-r--r--extra/mtools/.md5sum1
4 files changed, 11 insertions, 7 deletions
diff --git a/extra/mtools/.footprint b/base/mtools/.footprint
index 82167012e..82167012e 100644
--- a/extra/mtools/.footprint
+++ b/base/mtools/.footprint
diff --git a/base/mtools/.md5sum b/base/mtools/.md5sum
new file mode 100644
index 000000000..6c02d5163
--- /dev/null
+++ b/base/mtools/.md5sum
@@ -0,0 +1 @@
+0ee77a14e5f113ad8136a867f8ed4c3a mtools-4.0.12.tar.bz2
diff --git a/extra/mtools/Pkgfile b/base/mtools/Pkgfile
index 99b71a8c2..0f5a0b077 100644
--- a/extra/mtools/Pkgfile
+++ b/base/mtools/Pkgfile
@@ -2,20 +2,24 @@
# URL: http://mtools.linux.lu/
# Maintainer: NuTyX
# Packager: thierryn1 at hispeed dot ch
-# Depends on:
name=mtools
-version=4.0.10
+version=4.0.12
release=1
source=(ftp://ftp.gnu.org/gnu/mtools/$name-$version.tar.bz2)
build() {
cd $name-$version
./configure --prefix=/usr \
- --infodir=/usr/share/info \
- --mandir=/usr/share/man \
+ --datarootdir=$PKG/usr \
--sysconfdir=/etc
make
- make DESTDIR=$PKG install
- rm $PKG/usr/share/info/dir
+ 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
}
diff --git a/extra/mtools/.md5sum b/extra/mtools/.md5sum
deleted file mode 100644
index a3d165d59..000000000
--- a/extra/mtools/.md5sum
+++ /dev/null
@@ -1 +0,0 @@
-750c2beba968a5d46dbaae24551a82b9 mtools-4.0.10.tar.bz2