wok-next rev 13688
Add mdocml (very light man formatter), mdocml-extra, mdocml-cgi, mdocml-man, mdocml-dev. Now we can use 'mandoc /usr/share/man/man1/xterm.1 | less' to see well formatted manpage, but we still need 'man' wrapper to mandoc to search and page man pages. Cgi and other packages yet not tested at all.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Dec 09 17:07:54 2012 +0000 (2012-12-09) |
parents | ac1b7a509338 |
children | 6b9560f1e886 |
files | mdocml-cgi/receipt mdocml-dev/receipt mdocml-extra/receipt mdocml-man/receipt mdocml/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mdocml-cgi/receipt Sun Dec 09 17:07:54 2012 +0000 1.3 @@ -0,0 +1,17 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mdocml-cgi" 1.7 +VERSION="1.12.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="CGI files for mdocml" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +WEB_SITE="http://mdocml.bsd.lv/" 1.12 +WANTED="mdocml" 1.13 +DEPENDS="glibc-base libdb" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/var 1.19 + cp -a $_pkg/var/www $fs/var 1.20 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/mdocml-dev/receipt Sun Dec 09 17:07:54 2012 +0000 2.3 @@ -0,0 +1,18 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="mdocml-dev" 2.7 +VERSION="1.12.1" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Devel files for mdocml" 2.10 +MAINTAINER="al.bobylev@gmail.com" 2.11 +WEB_SITE="http://mdocml.bsd.lv/" 2.12 +WANTED="mdocml" 2.13 +DEPENDS="mdocml" 2.14 + 2.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.16 +genpkg_rules() 2.17 +{ 2.18 + mkdir -p $fs/usr 2.19 + cp -a $_pkg/usr/include $fs/usr 2.20 + cp -a $_pkg/usr/lib $fs/usr 2.21 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/mdocml-extra/receipt Sun Dec 09 17:07:54 2012 +0000 3.3 @@ -0,0 +1,18 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="mdocml-extra" 3.7 +VERSION="1.12.1" 3.8 +CATEGORY="base-system" 3.9 +SHORT_DESC="Extra files for mdocml" 3.10 +MAINTAINER="al.bobylev@gmail.com" 3.11 +WEB_SITE="http://mdocml.bsd.lv/" 3.12 +WANTED="mdocml" 3.13 +DEPENDS="glibc-base libdb mdocml" 3.14 + 3.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.16 +genpkg_rules() 3.17 +{ 3.18 + mkdir -p $fs/usr 3.19 + cp -a $install/usr/bin $fs/usr 3.20 + rm -f $fs/usr/bin/mandoc 3.21 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/mdocml-man/receipt Sun Dec 09 17:07:54 2012 +0000 4.3 @@ -0,0 +1,17 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="mdocml-man" 4.7 +VERSION="1.12.1" 4.8 +CATEGORY="development" 4.9 +SHORT_DESC="Man files for mdocml" 4.10 +MAINTAINER="al.bobylev@gmail.com" 4.11 +WEB_SITE="http://mdocml.bsd.lv/" 4.12 +WANTED="mdocml" 4.13 +DEPENDS="mdocml" 4.14 + 4.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.16 +genpkg_rules() 4.17 +{ 4.18 + mkdir -p $fs/usr/share 4.19 + cp -a $_pkg/usr/share/man $fs/usr/share 4.20 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/mdocml/receipt Sun Dec 09 17:07:54 2012 +0000 5.3 @@ -0,0 +1,38 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="mdocml" 5.7 +VERSION="1.12.1" 5.8 +CATEGORY="base-system" 5.9 +SHORT_DESC="UNIX manpage compiler" 5.10 +MAINTAINER="al.bobylev@gmail.com" 5.11 +WEB_SITE="http://mdocml.bsd.lv/" 5.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 5.13 +WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL" 5.14 + 5.15 +DEPENDS="glibc-base" 5.16 +BUILD_DEPENDS="db-dev" 5.17 + 5.18 +# Rules to configure and make the package. 5.19 +compile_rules() 5.20 +{ 5.21 + cd $src 5.22 + # configure 5.23 + sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \ 5.24 + s/^STATIC.*/#\0/; \ 5.25 + s/^PREFIX.*/PREFIX = \/usr/; 5.26 + s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/; 5.27 + s/^#\(DBLIB.*\)/\1/' \ 5.28 + Makefile 5.29 + make clean && 5.30 + make && 5.31 + make DESTDIR=$install install && 5.32 + make DESTDIR=$install installcgi && 5.33 + install -m 0755 apropos catman mandocdb whatis $install/usr/bin 5.34 +} 5.35 + 5.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.37 +genpkg_rules() 5.38 +{ 5.39 + mkdir -p $fs/usr/bin 5.40 + cp -a $install/usr/bin/mandoc $fs/usr/bin 5.41 +}