wok-current view mdocml/receipt @ rev 24355
updated backintime (1.2.1 -> 1.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:37:25 2022 +0100 (2022-02-03) |
parents | 23c3aed67cd9 |
children | 241fb98cab1c |
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 LICENSE="ISC"
9 WEB_SITE="http://mdocml.bsd.lv/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="db-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -lpthread"
20 # configure
21 sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \
22 s/^STATIC.*/#\0/; \
23 s/^PREFIX.*/PREFIX = \/usr/;
24 s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/;
25 s/^#\(DBLIB.*\)/\1/' \
26 Makefile
27 make clean &&
28 make &&
29 make DESTDIR=$install install &&
30 make DESTDIR=$install installcgi &&
31 install -m 0755 apropos catman mandocdb whatis $install/usr/bin
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $install/usr/bin/mandoc $fs/usr/bin
39 }