milis/talimatname/temel/man-db/talimat

41 lines
890 B
Plaintext
Raw Normal View History

2017-10-27 21:56:50 +02:00
# Tanım: The Man-DB package contains programs for finding and viewing man pages.
2016-02-24 01:27:23 +01:00
# URL: http://savannah.nongnu.org/projects/man-db
2017-10-27 21:56:50 +02:00
# Paketçi: milisarge
# Gerekler:
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
isim=man-db
surum=2.7.2
devir=1
2016-02-24 01:27:23 +01:00
2017-10-28 14:15:02 +02:00
kaynak=(http://savannah.nongnu.org/download/man-db/man-db-$surum.tar.xz)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle()
2016-02-24 01:27:23 +01:00
{
2017-10-28 14:15:02 +02:00
cd man-db-$surum
2016-02-24 01:27:23 +01:00
PKG_CONFIG_PATH="/usr/lib/pkgconfig" ./configure --prefix=/usr \
--libexecdir=/usr/lib \
2017-10-28 14:15:02 +02:00
--docdir=/usr/share/doc/man-$surum \
2016-02-24 01:27:23 +01:00
--sysconfdir=/etc --disable-setuid \
--with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind \
--with-grap=/usr/bin/grap
make
# Certains test fails
make -k check || true
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
}