wok-next view retawq/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 466bca9334ef |
children | d6378d455338 |
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
25 patch -p1 -i $stuff/retawq.patch
27 ./configure \
28 --enable-local-cgi \
29 --path-prefix=/usr \
30 --path-doc=/usr/share/doc/retawq \
31 --path-man=/usr/share/man \
32 $opts &&
33 make && make install
35 mkdir -p $install/usr/share/applications $install/etc
36 cp $stuff/retawq.desktop $install/usr/share/applications
37 cp -a $stuff/skel $install/etc
38 }
40 # The base web browser for ARM, so check
41 testsuite()
42 {
43 readelf -h $src/retawq
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 copy bin/ skel/
50 }