wok-next annotate retawq/receipt @ rev 21112

retawq: enable HTTPS support
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jan 12 13:31:42 2019 +0200 (2019-01-12)
parents d5aab818505e
children 1ff2f2b5df1d
rev   line source
al@21020 1 # SliTaz package receipt v2.
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"
al@21020 7 MAINTAINER="devel@slitaz.org"
al@14904 8 LICENSE="GPL2"
al@19543 9 WEB_SITE="http://retawq.sourceforge.net/"
al@21020 10
pankso@8 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@8 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@12836 13
al@21112 14 BUILD_DEPENDS="ncurses-dev openssl-dev gettext-dev"
al@21112 15 DEPENDS="ncurses openssl"
al@21112 16
al@21112 17 TAGS="web-browser"
pankso@8 18
al@21020 19 compile_rules() {
al@21112 20 # regenerate *.mo files (shipped ones are missed headers that lead to
al@21112 21 # thousands of errors when compressor normalize catalogs)
al@21112 22 for i in de es fr ja pt_BR; do
al@21112 23 rm i18n/$i.mo
al@21112 24 msgfmt -o i18n/$i.mo i18n/$i.po
al@21112 25 done
al@21112 26
pankso@890 27 ./configure \
al@21112 28 --path-prefix=/usr \
al@21112 29 --path-man=/usr/share/man \
al@21112 30 --path-doc=/usr/share/doc/retawq \
al@21112 31 --enable-i18n \
al@21112 32 --disable-news \
pankso@890 33 --enable-local-cgi \
al@21112 34 --enable-ipv6 \
al@21112 35 --set-tls=2 \
al@21112 36 &&
al@21020 37 make &&
al@21020 38 make install || return 1
al@19543 39
al@21112 40 install -Dm644 $stuff/retawq.desktop $install/usr/share/applications/retawq.desktop
al@21112 41 install -Dm644 $stuff/bookmarks.html $install/etc/skel/.retawq/bookmarks.html
al@21112 42 install -Dm644 $stuff/config $install/etc/skel/.retawq/config
al@21112 43
al@21112 44 find $install -type f -exec chmod u+w '{}' \; # 444->644
pankso@8 45 }
pankso@8 46
al@21020 47 testsuite() {
pankso@12836 48 readelf -h $src/retawq
pankso@12836 49 }