wok-next diff mdocml/receipt @ rev 14243
lirc: remove incompatible drivers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 23 10:06:31 2013 +0100 (2013-03-23) |
parents | |
children | 23c3aed67cd9 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/mdocml/receipt Sat Mar 23 10:06:31 2013 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="mdocml" 1.7 +VERSION="1.12.1" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="UNIX manpage compiler" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +WEB_SITE="http://mdocml.bsd.lv/" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL" 1.14 + 1.15 +DEPENDS="glibc-base" 1.16 +BUILD_DEPENDS="db-dev" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + # configure 1.23 + sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \ 1.24 + s/^STATIC.*/#\0/; \ 1.25 + s/^PREFIX.*/PREFIX = \/usr/; 1.26 + s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/; 1.27 + s/^#\(DBLIB.*\)/\1/' \ 1.28 + Makefile 1.29 + make clean && 1.30 + make && 1.31 + make DESTDIR=$install install && 1.32 + make DESTDIR=$install installcgi && 1.33 + install -m 0755 apropos catman mandocdb whatis $install/usr/bin 1.34 +} 1.35 + 1.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 +genpkg_rules() 1.38 +{ 1.39 + mkdir -p $fs/usr/bin 1.40 + cp -a $install/usr/bin/mandoc $fs/usr/bin 1.41 +}