wok diff html2text/receipt @ rev 18844

Slitaz Tic Tac Toe game
author Leonardo Laporte <hackdorte@sapo.pt>
date Fri Jan 22 21:35:30 2016 -0200 (2016-01-22)
parents
children af8d823a3077
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/html2text/receipt	Fri Jan 22 21:35:30 2016 -0200
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="html2text"
     1.7 +VERSION="1.3.2a"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="Command line utility that converts HTML into plain text"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL"
    1.12 +WEB_SITE="http://www.mbayer.de/html2text/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WGET_URL="http://ftp.ibiblio.org/pub/linux/apps/www/converters/$TARBALL"
    1.15 +
    1.16 +DEPENDS=""
    1.17 +BUILD_DEPENDS=""
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	# http://www.mbayer.de/html2text/downloads/patch-utf8-html2text-1.3.2a.diff
    1.23 +	patch -p1 -i $stuff/patch-utf8-html2text-1.3.2a.diff
    1.24 +
    1.25 +	./configure $CONFIGURE_ARGS
    1.26 +	sed -i 's|/usr/local/bin|/usr/bin|; s|/usr/local/man|/usr/share/man|;
    1.27 +		s|$(BINDIR)|$(DESTDIR)&|; s|$(MANDIR)|$(DESTDIR)&|; s|$(DOCDIR)|$(DESTDIR)&|' \
    1.28 +		$src/Makefile
    1.29 +	make
    1.30 +	mkdir -p $install/usr/bin $install/usr/share/man/man1 \
    1.31 +		$install/usr/share/man/man5
    1.32 +	make install
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	cp -a $install/* $fs
    1.39 +	rm -r $fs/usr/share/doc
    1.40 +}