blob: bc1c56da9f2b5950eb6c59553efdf09c1b864154 (
plain)
1 # Description: An implementation of the standard Unix documentation system accessed using the man command
2 # URL: https://man-db.nongnu.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: zlib gdbm libpipeline
5
6 name=man-db
7 version=2.11.2
8 release=1
9 source=(https://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz
10 mandb.cron)
11
12 build() {
13 cd $name-$version
14
15 ./configure \
16 --prefix=/usr \
17 --sysconfdir=/etc \
18 --libexecdir=/usr/lib/$name \
19 --disable-setuid \
20 --disable-cache-owner \
21 --disable-nls \
22 --with-systemdtmpfilesdir=no \
23 --with-systemdsystemunitdir=no \
24 --without-libseccomp
25
26 make
27 make DESTDIR=$PKG install
28
29 rm -r $PKG/usr/share/doc
30
31 install -d $PKG/var/cache/man
32 install -D -o root -g root -m 0755 $SRC/mandb.cron $PKG/etc/cron/daily/mandb
33 }
|