wok view mdocml/receipt @ rev 14815

Up: exo,exo-tools (0.8.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:41:03 2013 +0200 (2013-07-17)
parents
children 23c3aed67cd9
line source
1 # SliTaz package receipt.
3 PACKAGE="mdocml"
4 VERSION="1.12.1"
5 CATEGORY="base-system"
6 SHORT_DESC="UNIX manpage compiler"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://mdocml.bsd.lv/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL"
12 DEPENDS="glibc-base"
13 BUILD_DEPENDS="db-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # configure
20 sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \
21 s/^STATIC.*/#\0/; \
22 s/^PREFIX.*/PREFIX = \/usr/;
23 s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/;
24 s/^#\(DBLIB.*\)/\1/' \
25 Makefile
26 make clean &&
27 make &&
28 make DESTDIR=$install install &&
29 make DESTDIR=$install installcgi &&
30 install -m 0755 apropos catman mandocdb whatis $install/usr/bin
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/bin
37 cp -a $install/usr/bin/mandoc $fs/usr/bin
38 }