wok-current annotate html2text/receipt @ rev 20943

updated fribidi and fribidi-dev (0.19.2 -> 1.0.5)
author Hans-G?nter Theisgen
date Sun Mar 03 11:26:23 2019 +0100 (2019-03-03)
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 }