wok-next annotate man-db/receipt @ rev 19665

cookutils: up 892
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 17 15:07:45 2017 +0200 (2017-03-17)
parents
children 2f73953f6cee
rev   line source
al@19582 1 # SliTaz package receipt.
al@19582 2
al@19582 3 PACKAGE="man-db"
al@19582 4 VERSION="2.7.5"
al@19582 5 CATEGORY="system-tools"
al@19582 6 SHORT_DESC="The on-line manual database"
al@19582 7 MAINTAINER="al.bobylev@gmail.com"
al@19582 8 LICENSE="GPL2"
al@19582 9 WEB_SITE="http://www.nongnu.org/man-db/"
al@19582 10
al@19582 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19582 12 WGET_URL="http://download.savannah.gnu.org/releases/man-db/$TARBALL"
al@19582 13
al@19582 14 DEPENDS="gdbm libpipeline zlib"
al@19582 15 BUILD_DEPENDS="groff bzip2-dev xz-dev gettext libpipeline-dev gdbm-dev \
al@19582 16 zlib-dev"
al@19582 17
al@19582 18 # Rules to configure and make the package.
al@19582 19 compile_rules()
al@19582 20 {
al@19582 21 ./configure \
al@19582 22 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
al@19582 23 --sysconfdir=/etc \
al@19582 24 --disable-setuid \
al@19582 25 --with-browser=/usr/bin/lynx \
al@19582 26 --with-vgrind=/usr/bin/vgrind \
al@19582 27 --with-grap=/usr/bin/grap \
al@19582 28 $CONFIGURE_ARGS &&
al@19582 29 make && make install
al@19582 30
al@19582 31 sed -i "s:man root:root root:g" $install/usr/lib/tmpfiles.d/man-db.conf
al@19582 32 }
al@19582 33
al@19582 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19582 35 genpkg_rules()
al@19582 36 {
al@19582 37 cook_copy_folders bin libexec sbin
al@19582 38 cook_copy_files *.conf *.so*
al@19582 39 }