wok annotate html2text/receipt @ rev 23413

updated perl-xml-entities (1.0000 -> 1.0002)
author Hans-G?nter Theisgen
date Wed Apr 01 07:24:50 2020 +0100 (2020-04-01)
parents
children af8d823a3077
rev   line source
al@18840 1 # SliTaz package receipt.
al@18840 2
al@18840 3 PACKAGE="html2text"
al@18840 4 VERSION="1.3.2a"
al@18840 5 CATEGORY="utilities"
al@18840 6 SHORT_DESC="Command line utility that converts HTML into plain text"
al@18840 7 MAINTAINER="al.bobylev@gmail.com"
al@18840 8 LICENSE="GPL"
al@18840 9 WEB_SITE="http://www.mbayer.de/html2text/"
al@18840 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18840 11 WGET_URL="http://ftp.ibiblio.org/pub/linux/apps/www/converters/$TARBALL"
al@18840 12
al@18840 13 DEPENDS=""
al@18840 14 BUILD_DEPENDS=""
al@18840 15
al@18840 16 # Rules to configure and make the package.
al@18840 17 compile_rules()
al@18840 18 {
al@18840 19 # http://www.mbayer.de/html2text/downloads/patch-utf8-html2text-1.3.2a.diff
al@18840 20 patch -p1 -i $stuff/patch-utf8-html2text-1.3.2a.diff
al@18840 21
al@18840 22 ./configure $CONFIGURE_ARGS
al@18840 23 sed -i 's|/usr/local/bin|/usr/bin|; s|/usr/local/man|/usr/share/man|;
al@18840 24 s|$(BINDIR)|$(DESTDIR)&|; s|$(MANDIR)|$(DESTDIR)&|; s|$(DOCDIR)|$(DESTDIR)&|' \
al@18840 25 $src/Makefile
al@18840 26 make
al@18840 27 mkdir -p $install/usr/bin $install/usr/share/man/man1 \
al@18840 28 $install/usr/share/man/man5
al@18840 29 make install
al@18840 30 }
al@18840 31
al@18840 32 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18840 33 genpkg_rules()
al@18840 34 {
al@18840 35 cp -a $install/* $fs
al@18840 36 rm -r $fs/usr/share/doc
al@18840 37 }