wok view retawq/receipt @ rev 20214

Force host arch to i486 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 15:49:51 2018 +0100 (2018-02-24)
parents 3705d68ed8f3
children 967d2dae80d9
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"
16 BUILD_DEPENDS="ncurses-dev libtinfo"
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 --path-prefix=/usr \
32 --path-doc=/usr/share/doc/retawq \
33 --path-man=/usr/share/man \
34 $opts &&
35 make && make install
37 mkdir -p $install/usr/share/applications $install/etc
38 cp $stuff/retawq.desktop $install/usr/share/applications
39 cp -a $stuff/skel $install/etc
40 }
42 # The base web browser for ARM, so check
43 testsuite()
44 {
45 readelf -h $src/retawq
46 }
48 # Rules to gen a SliTaz package suitable for Tazpkg.
49 genpkg_rules()
50 {
51 cook_copy_folders bin skel
52 }