wok-next view mdocml/receipt @ rev 18630

Add mediainfo-gui
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Nov 25 07:29:51 2015 +0200 (2015-11-25)
parents 2398a227be6e
children e0a322a2f200
line source
1 # SliTaz package receipt.
3 PACKAGE="mdocml"
4 VERSION="1.12.1"
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/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL"
13 DEPENDS="glibc-base"
14 BUILD_DEPENDS="db-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # configure
21 sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \
22 s/^STATIC.*/#\0/; \
23 s/^PREFIX.*/PREFIX = \/usr/;
24 s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/;
25 s/^#\(DBLIB.*\)/\1/' \
26 Makefile
27 make clean &&
28 make &&
29 make DESTDIR=$install install &&
30 make DESTDIR=$install installcgi &&
31 install -m 0755 apropos catman mandocdb whatis $install/usr/bin
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/bin
38 cp -a $install/usr/bin/mandoc $fs/usr/bin
39 }