summaryrefslogtreecommitdiffstats
path: root/man-db/Pkgfile
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2012-01-22 11:53:58 +0100
committerpiernov <piernov@piernov.org>2012-01-22 11:53:58 +0100
commit656378eb13dd8c1af44a368e7dfee3333eb055a2 (patch)
tree9707d7a6d1af19d5c1d8431821232ae81ce42d85 /man-db/Pkgfile
parent9626427c1a1d9c292fc519810c13b9a8073e777f (diff)
parent8d576551b5c270c65fe06443b7295d73cc662064 (diff)
downloadnutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.gz
nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.bz2
nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.tar.xz
nutyx-pakxe-656378eb13dd8c1af44a368e7dfee3333eb055a2.zip
Merged with http://kiao.no-ip.info/NuTyX/git/nutyx-pakxe → Repository splitted → nutyx-pakxe
Diffstat (limited to 'man-db/Pkgfile')
-rwxr-xr-xman-db/Pkgfile37
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
+}