# 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 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: libpipeline name=man-db version=2.7.5 release=1 source=(http://download.savannah.gnu.org/releases/$name/$name-$version.tar.xz \ mandb.cron) build() { cd $name-$version export libpipeline_CFLAGS="$CFLAGSi -I$CLFS/usr/include" export libpipeline_LIBS="$LIBS -L$CLFS/urs/lib -lpipeline" ./configure --build=$CHOST \ --host=$CTARGET \ --prefix=/usr \ --libexecdir=/usr/lib/$name \ --disable-setuid \ --disable-nls make make DESTDIR=$PKG install rm -r $PKG/usr/lib/tmpfiles.d install -d $PKG/var/cache/man install -D -o root -g root -m 0755 $SRC/mandb.cron $PKG/etc/cron/daily/mandb }