diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 14:02:00 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-07 14:02:00 +0200 |
commit | 631aa90fd7bf74cb448b5953da35a98fc272bad2 (patch) | |
tree | 723578a1de91ad92ba9f09d1d11aa6d65d3ef042 /base/man-db/Pkgfile | |
parent | 74173b9faf76fd7bf79e6e742d9e9da5eca4d4fc (diff) | |
download | nutyx-extra-631aa90fd7bf74cb448b5953da35a98fc272bad2.tar.gz nutyx-extra-631aa90fd7bf74cb448b5953da35a98fc272bad2.tar.bz2 nutyx-extra-631aa90fd7bf74cb448b5953da35a98fc272bad2.tar.xz nutyx-extra-631aa90fd7bf74cb448b5953da35a98fc272bad2.zip |
Ajout de man-db#2.5.5-1
Diffstat (limited to 'base/man-db/Pkgfile')
-rwxr-xr-x | base/man-db/Pkgfile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/base/man-db/Pkgfile b/base/man-db/Pkgfile new file mode 100755 index 000000000..ef395333b --- /dev/null +++ b/base/man-db/Pkgfile @@ -0,0 +1,38 @@ +# Description: Permet la lecture des pages de manuels +# URL: http://savannah.nongnu.org/projects/man-db +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: make + +name=man-db +version=2.5.5 +release=1 + +source=(http://savannah.nongnu.org/download/$name/$name-$version.tar.gz\ + ) + +build() { +cd $name-$version +sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in +./configure --prefix=/usr --libexecdir=/usr/lib \ + --sysconfdir=/etc --disable-setuid \ + --enable-mb-groff --with-browser=/usr/bin/lynx \ + --with-col=/usr/bin/col --with-vgrind=/usr/bin/vgrind \ + --with-grap=/usr/bin/grap +make +make DESTDIR=$PKG install +cat >> convert-mans << "EOF" +#!/bin/sh -e +FROM="$1" +TO="$2" +shift ; shift +while [ $# -gt 0 ] +do + FILE="$1" + shift + iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv + mv .tmp.iconv "$FILE" +done +EOF +install -m755 convert-mans $PKG/usr/bin +} |