wok-next view html2text/receipt @ rev 20852

Fix build: xplc, xournal
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 24 17:58:25 2018 +0300 (2018-06-24)
parents 27b321c14ae7
children d5aab818505e
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 ./configure $CONFIGURE_ARGS
20 sed -i 's|/usr/local/bin|/usr/bin|; s|/usr/local/man|/usr/share/man|;
21 s|$(BINDIR)|$(DESTDIR)&|; s|$(MANDIR)|$(DESTDIR)&|; s|$(DOCDIR)|$(DESTDIR)&|' \
22 $src/Makefile
23 make
24 mkdir -p $install/usr/bin $install/usr/share/man/man1 \
25 $install/usr/share/man/man5
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 rm -r $fs/usr/share/doc
34 }