wok-current view 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 |
line source
1 # SliTaz package receipt.
3 PACKAGE="html2text"
4 VERSION="1.3.2a"
5 CATEGORY="utilities"
6 SHORT_DESC="Command line utility that converts HTML into plain text"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL"
9 WEB_SITE="http://www.mbayer.de/html2text/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://ftp.ibiblio.org/pub/linux/apps/www/converters/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # http://www.mbayer.de/html2text/downloads/patch-utf8-html2text-1.3.2a.diff
20 patch -p1 -i $stuff/patch-utf8-html2text-1.3.2a.diff
22 ./configure $CONFIGURE_ARGS
23 sed -i 's|/usr/local/bin|/usr/bin|; s|/usr/local/man|/usr/share/man|;
24 s|$(BINDIR)|$(DESTDIR)&|; s|$(MANDIR)|$(DESTDIR)&|; s|$(DOCDIR)|$(DESTDIR)&|' \
25 $src/Makefile
26 make
27 mkdir -p $install/usr/bin $install/usr/share/man/man1 \
28 $install/usr/share/man/man5
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 rm -r $fs/usr/share/doc
37 }