wok-next view mandoc/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 71ba95d2422e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mandoc"
4 VERSION="1.14.4"
5 CATEGORY="base-system"
6 SHORT_DESC="UNIX manpage compiler"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="ISC"
9 WEB_SITE="http://mandoc.bsd.lv/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL"
14 BUILD_DEPENDS="zlib-dev"
15 SPLIT="$PACKAGE-cgi $PACKAGE $PACKAGE-dev"
17 # see also: https://github.com/trentm/mdocml/tree/html5
19 compile_rules() {
20 sed "s|@CFLAGS@|$CFLAGS|" $stuff/configure.local.in > configure.local
21 cp $stuff/cgi.h .
23 ./configure $CONFIGURE_ARGS &&
24 make -j1 &&
25 make -j1 DESTDIR=$install \
26 base-install lib-install cgi-install catman-install
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-cgi)
32 copy var/www/
33 CAT="development|CGI files"
34 DEPENDS=" "
35 ;;
36 mandoc)
37 copy @std @rm
38 DEPENDS="zlib"
39 PROVIDE="mdocml"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }