core/man-db/Pkgfile

31 lines
823 B
Plaintext
Raw Permalink Normal View History

# 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
# Depends on: zlib gdbm libpipeline
name=man-db
2019-01-08 17:25:13 +01:00
version=2.8.5
2016-12-14 20:23:53 +01:00
release=1
source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \
mandb.cron)
build() {
cd $name-$version
2016-12-14 20:23:53 +01:00
./configure --prefix=/usr \
--libexecdir=/usr/lib/$name \
--disable-setuid \
2016-12-14 20:23:53 +01:00
--disable-cache-owner \
2019-01-08 17:25:13 +01:00
--disable-nls \
--with-systemdtmpfilesdir=no \
--with-systemdsystemunitdir=no
2016-12-14 20:23:53 +01:00
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
install -d $PKG/var/cache/man
install -D -o root -g root -m 0755 $SRC/mandb.cron $PKG/etc/cron/daily/mandb
}