wok view retawq/receipt @ rev 21585
updated npth and npth-dev (1.5 -> 1.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 20 13:44:05 2019 +0100 (2019-05-20) |
parents | dd7ea31cf94c |
children | e919c5a2742d |
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 gettext-tools libtinfo openssl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # regenerate *.mo files (shipped ones are missed headers that lead to
22 # thousand of errors when compressor normalize catalogs)
23 for i in i18n/*.mo ; do
24 rm $i && msgfmt -o $i ${i/mo/po}
25 done
27 export LDFLAGS="-ltinfo"
28 # We have no locale support on ARM actually
29 case "$ARCH" in
30 arm) opts="" ;;
31 i?86) opts="--enable-i18n" ;;
32 esac
33 patch -p1 -i $stuff/retawq.patch
35 ./configure \
36 --enable-local-cgi \
37 --set-tls=2 \
38 --path-prefix=/usr \
39 --path-doc=/usr/share/doc/retawq \
40 --path-man=/usr/share/man \
41 $opts &&
42 make && make install
44 mkdir -p $install/usr/share/applications $install/etc
45 cp $stuff/retawq.desktop $install/usr/share/applications
46 cp -a $stuff/skel $install/etc
47 }
49 # The base web browser for ARM, so check
50 testsuite()
51 {
52 readelf -h $src/retawq
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 cook_copy_folders bin skel
59 }