2014-04-23 12:43:21 -05:00
|
|
|
# Description: An implementation of the standard Unix documentation system accessed using the man command
|
2022-02-07 17:12:29 +01:00
|
|
|
# URL: https://man-db.nongnu.org/
|
2014-04-23 12:43:21 -05:00
|
|
|
# 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 12:43:21 -05:00
|
|
|
|
|
|
|
name=man-db
|
2022-03-23 14:08:52 +01:00
|
|
|
version=2.10.2
|
2016-12-14 20:23:53 +01:00
|
|
|
release=1
|
2022-02-07 17:12:29 +01:00
|
|
|
source=(https://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz
|
2022-02-12 15:13:58 +01:00
|
|
|
mandb.cron)
|
2014-04-23 12:43:21 -05:00
|
|
|
|
|
|
|
build() {
|
2021-02-16 13:20:33 +01:00
|
|
|
cd $name-$version
|
2016-12-14 20:23:53 +01:00
|
|
|
|
2021-02-16 13:20:33 +01:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--libexecdir=/usr/lib/$name \
|
|
|
|
--disable-setuid \
|
|
|
|
--disable-cache-owner \
|
|
|
|
--disable-nls \
|
|
|
|
--with-systemdtmpfilesdir=no \
|
|
|
|
--with-systemdsystemunitdir=no
|
2016-12-14 20:23:53 +01:00
|
|
|
|
2021-02-16 13:20:33 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2014-04-23 12:43:21 -05:00
|
|
|
|
2021-02-16 13:20:33 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
2014-04-23 12:43:21 -05:00
|
|
|
|
2021-02-16 13:20:33 +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 12:43:21 -05:00
|
|
|
}
|