summaryrefslogtreecommitdiffstats
path: root/base/mtools/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-02-24 15:35:54 +0100
committersibel <lesibel@free.fr>2011-02-24 15:35:54 +0100
commit90cb6e6a88c741237b61a4ea78749917bb56e18c (patch)
tree365250a23897bc2667e41b4bcbfb3047463c1d89 /base/mtools/Pkgfile
parentad6c254d85c17d8ec50db3932810f5e143e6f7e8 (diff)
downloadnutyx-pakxe-90cb6e6a88c741237b61a4ea78749917bb56e18c.tar.gz
nutyx-pakxe-90cb6e6a88c741237b61a4ea78749917bb56e18c.tar.bz2
nutyx-pakxe-90cb6e6a88c741237b61a4ea78749917bb56e18c.tar.xz
nutyx-pakxe-90cb6e6a88c741237b61a4ea78749917bb56e18c.zip
mtools, maj 4.0.15-1
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
}