wok-next view retawq/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents c4e53a39395a
children d5aab818505e
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"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # We have no locale support on ARM actually
21 case "$ARCH" in
22 arm) opts="" ;;
23 i?86) opts="--enable-i18n" ;;
24 esac
26 ./configure \
27 --enable-local-cgi \
28 --path-prefix=/usr \
29 --path-doc=/usr/share/doc/retawq \
30 --path-man=/usr/share/man \
31 $opts &&
32 make && make install
34 mkdir -p $install/usr/share/applications $install/etc
35 cp $stuff/retawq.desktop $install/usr/share/applications
36 cp -a $stuff/skel $install/etc
37 }
39 # The base web browser for ARM, so check
40 testsuite()
41 {
42 readelf -h $src/retawq
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 copy bin/ skel/
49 }