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