wok-next view html2text/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d6378d455338 |
children |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://ftp.ibiblio.org/pub/linux/apps/www/converters/$TARBALL"
14 compile_rules() {
15 ./configure $CONFIGURE_ARGS
16 sed -i 's|/usr/local/bin|/usr/bin|; s|/usr/local/man|/usr/share/man|;
17 s|$(BINDIR)|$(DESTDIR)&|; s|$(MANDIR)|$(DESTDIR)&|; s|$(DOCDIR)|$(DESTDIR)&|' \
18 $src/Makefile
19 make
20 mkdir -p $install/usr/bin $install/usr/share/man/man1 \
21 $install/usr/share/man/man5
22 make install
23 }
25 genpkg_rules() {
26 cp -a $install/* $fs
27 rm -r $fs/usr/share/doc
28 }