wok view retawq/receipt @ rev 20641

Add SSL support to retawq (needed by man to browse linux.die.net)
author Lucas Levrel <llevrel@yahoo.fr>
date Fri Jan 11 09:19:11 2019 +0100 (3 months ago)
parents 238f49914432
children dd7ea31cf94c
line source
1 # SliTaz package receipt.
3 PACKAGE="retawq"
4 VERSION="0.2.6c"
5 CATEGORY="network"
6 SHORT_DESC="Multi-threaded web browser for text terminals"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://retawq.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="web-browser"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncurses libtinfo openssl"
16 BUILD_DEPENDS="ncurses-dev libtinfo openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="-ltinfo"
22 # We have no locale support on ARM actually
23 case "$ARCH" in
24 arm) opts="" ;;
25 i?86) opts="--enable-i18n" ;;
26 esac
27 patch -p1 -i $stuff/retawq.patch
29 ./configure \
30 --enable-local-cgi \
31 --set-tls=2 \
32 --path-prefix=/usr \
33 --path-doc=/usr/share/doc/retawq \
34 --path-man=/usr/share/man \
35 $opts &&
36 make && make install
38 mkdir -p $install/usr/share/applications $install/etc
39 cp $stuff/retawq.desktop $install/usr/share/applications
40 cp -a $stuff/skel $install/etc
41 }
43 # The base web browser for ARM, so check
44 testsuite()
45 {
46 readelf -h $src/retawq
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 cook_copy_folders bin skel
53 }