
Receipt for package "mdocml"
# SliTaz package receipt. PACKAGE="mdocml" VERSION="1.12.1" CATEGORY="base-system" SHORT_DESC="UNIX manpage compiler" MAINTAINER="al.bobylev@gmail.com" LICENSE="ISC" WEB_SITE="https://mdocml.bsd.lv/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://mdocml.bsd.lv/snapshots/$TARBALL" DEPENDS="glibc-base" BUILD_DEPENDS="db-dev" # What is the latest version available today? current_version() { wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q } # Rules to configure and make the package. compile_rules() { export LDFLAGS="$LDFLAGS -lpthread" # configure sed -i '/^#.*CFLAGS.*/ s/# //; s/OpenBSD 4\.5/SliTaz Cooking/; \ s/^STATIC.*/#\0/; \ s/^PREFIX.*/PREFIX = \/usr/; s/^MANDIR.*/MANDIR = $(PREFIX)\/share\/man/; s/^#\(DBLIB.*\)/\1/' \ Makefile make clean && make && make DESTDIR=$install install && make DESTDIR=$install installcgi && install -m 0755 apropos catman mandocdb whatis $install/usr/bin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $install/usr/bin/mandoc $fs/usr/bin }
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)