wok-next view mandoc/receipt @ rev 21016

Small updates; mdocml -> mandoc
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 15 16:44:45 2018 +0300 (2018-10-15)
parents
children 5ffe59e2de3a
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://mdocml.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 }