wok-next annotate mdocml/receipt @ rev 14243

lirc: remove incompatible drivers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 23 10:06:31 2013 +0100 (2013-03-23)
parents
children 23c3aed67cd9
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"
al@13688 8 WEB_SITE="http://mdocml.bsd.lv/"
al@13688 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13688 10 WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL"
al@13688 11
al@13688 12 DEPENDS="glibc-base"
al@13688 13 BUILD_DEPENDS="db-dev"
al@13688 14
al@13688 15 # Rules to configure and make the package.
al@13688 16 compile_rules()
al@13688 17 {
al@13688 18 cd $src
al@13688 19 # configure
al@13688 20 sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \
al@13688 21 s/^STATIC.*/#\0/; \
al@13688 22 s/^PREFIX.*/PREFIX = \/usr/;
al@13688 23 s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/;
al@13688 24 s/^#\(DBLIB.*\)/\1/' \
al@13688 25 Makefile
al@13688 26 make clean &&
al@13688 27 make &&
al@13688 28 make DESTDIR=$install install &&
al@13688 29 make DESTDIR=$install installcgi &&
al@13688 30 install -m 0755 apropos catman mandocdb whatis $install/usr/bin
al@13688 31 }
al@13688 32
al@13688 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13688 34 genpkg_rules()
al@13688 35 {
al@13688 36 mkdir -p $fs/usr/bin
al@13688 37 cp -a $install/usr/bin/mandoc $fs/usr/bin
al@13688 38 }