diff options
author | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
---|---|---|
committer | tnut <tnut at nutyx dot com> | 2012-01-08 12:12:28 +0100 |
commit | 9291e062cb24bac5d7c7059d4dc64669c1917b33 (patch) | |
tree | ae6f7e4fb2769d6c53b214c5e0b4d862f1df98dc /man-db/Pkgfile | |
parent | c9972ec7f32bf9d37388e853fe9bf633e242d05a (diff) | |
download | nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.gz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.bz2 nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.tar.xz nutyx-pakxe-9291e062cb24bac5d7c7059d4dc64669c1917b33.zip |
aaabasicfs 2011-3 et split des dépot base et extra en 2 git séparé
Diffstat (limited to 'man-db/Pkgfile')
-rwxr-xr-x | man-db/Pkgfile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/man-db/Pkgfile b/man-db/Pkgfile new file mode 100755 index 000000000..e6f153353 --- /dev/null +++ b/man-db/Pkgfile @@ -0,0 +1,37 @@ +# 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 + +name=man-db +version=2.5.9 +release=1 + +source=(http://savannah.nongnu.org/download/$name/$name-$version.tar.gz\ + ) + +build() { +cd $name-$version + +./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 +} |