2014-04-23 19:43:21 +02:00
|
|
|
# Description: An implementation of the standard Unix documentation system accessed using the man command
|
|
|
|
# URL: http://man-db.nongnu.org/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
2014-10-30 13:39:31 +01:00
|
|
|
# Depends on: zlib gdbm libpipeline
|
2014-04-23 19:43:21 +02:00
|
|
|
|
|
|
|
name=man-db
|
2015-09-03 19:10:29 +02:00
|
|
|
version=2.7.2
|
2014-04-23 19:43:21 +02:00
|
|
|
release=1
|
|
|
|
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \
|
2014-10-30 13:39:31 +01:00
|
|
|
mandb.cron)
|
2014-04-23 19:43:21 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib/$name \
|
|
|
|
--disable-setuid \
|
|
|
|
--disable-nls
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
2015-07-25 22:55:49 +02:00
|
|
|
#rm -r $PKG/usr/share
|
2014-10-30 13:39:31 +01:00
|
|
|
rm -r $PKG/usr/lib/tmpfiles.d
|
2014-04-23 19:43:21 +02:00
|
|
|
|
2014-10-30 13:39:31 +01:00
|
|
|
install -d $PKG/var/cache/man
|
|
|
|
install -D -o root -g root -m 0755 $SRC/mandb.cron $PKG/etc/cron/daily/mandb
|
2014-04-23 19:43:21 +02:00
|
|
|
}
|