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