wok-next view retawq/receipt @ rev 20024

Up tesseract-ocr (3.05.01)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 12:39:31 2017 +0200 (2017-10-22)
parents f463de72afe3
children c4e53a39395a
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"
16 BUILD_DEPENDS="ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # We have no locale support on ARM actually
22 case "$ARCH" in
23 arm) opts="" ;;
24 i?86) opts="--enable-i18n" ;;
25 esac
26 patch -p1 -i $stuff/retawq.patch
28 ./configure \
29 --enable-local-cgi \
30 --path-prefix=/usr \
31 --path-doc=/usr/share/doc/retawq \
32 --path-man=/usr/share/man \
33 $opts &&
34 make && make install
36 mkdir -p $install/usr/share/applications $install/etc
37 cp $stuff/retawq.desktop $install/usr/share/applications
38 cp -a $stuff/skel $install/etc
39 }
41 # The base web browser for ARM, so check
42 testsuite()
43 {
44 readelf -h $src/retawq
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 copy bin/ skel/
51 }