summaryrefslogtreecommitdiffstats
path: root/base/mtools/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/mtools/Pkgfile')
-rw-r--r--base/mtools/Pkgfile20
1 files changed, 10 insertions, 10 deletions
diff --git a/base/mtools/Pkgfile b/base/mtools/Pkgfile
index 0f5a0b077..48e46de10 100644
--- a/base/mtools/Pkgfile
+++ b/base/mtools/Pkgfile
@@ -4,22 +4,22 @@
# Packager: thierryn1 at hispeed dot ch
name=mtools
-version=4.0.12
+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 \
- --datarootdir=$PKG/usr \
- --sysconfdir=/etc
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --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
+
+ install -Dm644 mtools.conf $PKG/etc/mtools.conf
}