wok-next annotate mdocml/receipt @ rev 17074

Add iotop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 23 13:15:02 2014 +0200 (2014-08-23)
parents 2398a227be6e
children e0a322a2f200
rev   line source
al@13688 1 # SliTaz package receipt.
al@13688 2
al@13688 3 PACKAGE="mdocml"
al@13688 4 VERSION="1.12.1"
al@13688 5 CATEGORY="base-system"
al@13688 6 SHORT_DESC="UNIX manpage compiler"
al@13688 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15601 8 LICENSE="ISC"
al@13688 9 WEB_SITE="http://mdocml.bsd.lv/"
al@13688 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13688 11 WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL"
al@13688 12
al@13688 13 DEPENDS="glibc-base"
al@13688 14 BUILD_DEPENDS="db-dev"
al@13688 15
al@13688 16 # Rules to configure and make the package.
al@13688 17 compile_rules()
al@13688 18 {
al@13688 19 cd $src
al@13688 20 # configure
al@13688 21 sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \
al@13688 22 s/^STATIC.*/#\0/; \
al@13688 23 s/^PREFIX.*/PREFIX = \/usr/;
al@13688 24 s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/;
al@13688 25 s/^#\(DBLIB.*\)/\1/' \
al@13688 26 Makefile
al@13688 27 make clean &&
al@13688 28 make &&
al@13688 29 make DESTDIR=$install install &&
al@13688 30 make DESTDIR=$install installcgi &&
al@13688 31 install -m 0755 apropos catman mandocdb whatis $install/usr/bin
al@13688 32 }
al@13688 33
al@13688 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13688 35 genpkg_rules()
al@13688 36 {
al@13688 37 mkdir -p $fs/usr/bin
al@13688 38 cp -a $install/usr/bin/mandoc $fs/usr/bin
al@13688 39 }