wok annotate mdocml/receipt @ rev 24185
updated perl-common-sense (3.74 -> 3.75)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:04:57 2021 +0100 (2021-12-31) |
parents | 23c3aed67cd9 |
children | 241fb98cab1c |
rev | line source |
---|---|
al@13688 | 1 # SliTaz package receipt. |
al@13688 | 2 |
al@13688 | 3 PACKAGE="mdocml" |
al@13688 | 4 VERSION="1.12.1" |
al@13688 | 5 CATEGORY="base-system" |
al@13688 | 6 SHORT_DESC="UNIX manpage compiler" |
al@13688 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15601 | 8 LICENSE="ISC" |
al@13688 | 9 WEB_SITE="http://mdocml.bsd.lv/" |
al@13688 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@13688 | 11 WGET_URL="http://mdocml.bsd.lv/snapshots/$TARBALL" |
al@13688 | 12 |
al@13688 | 13 DEPENDS="glibc-base" |
al@13688 | 14 BUILD_DEPENDS="db-dev" |
al@13688 | 15 |
al@13688 | 16 # Rules to configure and make the package. |
al@13688 | 17 compile_rules() |
al@13688 | 18 { |
pascal@18949 | 19 export LDFLAGS="$LDFLAGS -lpthread" |
al@13688 | 20 # configure |
al@13688 | 21 sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \ |
al@13688 | 22 s/^STATIC.*/#\0/; \ |
al@13688 | 23 s/^PREFIX.*/PREFIX = \/usr/; |
al@13688 | 24 s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/; |
al@13688 | 25 s/^#\(DBLIB.*\)/\1/' \ |
al@13688 | 26 Makefile |
al@13688 | 27 make clean && |
al@13688 | 28 make && |
al@13688 | 29 make DESTDIR=$install install && |
al@13688 | 30 make DESTDIR=$install installcgi && |
al@13688 | 31 install -m 0755 apropos catman mandocdb whatis $install/usr/bin |
al@13688 | 32 } |
al@13688 | 33 |
al@13688 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13688 | 35 genpkg_rules() |
al@13688 | 36 { |
al@13688 | 37 mkdir -p $fs/usr/bin |
al@13688 | 38 cp -a $install/usr/bin/mandoc $fs/usr/bin |
al@13688 | 39 } |