wok-next view retawq/receipt @ rev 21721

created recipes for efivar and efibootmgr
author Hans-G?nter Theisgen
date Tue Sep 01 10:09:15 2020 +0100 (2020-09-01)
parents 95afb7884ec0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="retawq"
4 VERSION="0.2.6c"
5 CATEGORY="network"
6 SHORT_DESC="Multi-threaded web browser for text terminals"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://retawq.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TARBALL_SHA1="ac99979e99ae3b3edba547dd23d54c8f5fb3c6f5"
15 BUILD_DEPENDS="ncurses-dev openssl-dev gettext-dev"
16 DEPENDS="ncurses openssl"
18 TAGS="web-browser"
20 compile_rules() {
21 # regenerate *.mo files (shipped ones are missed headers that lead to
22 # thousands of errors when compressor normalize catalogs)
23 for i in de es fr ja pt_BR; do
24 rm i18n/$i.mo
25 msgfmt -o i18n/$i.mo i18n/$i.po
26 done
28 ./configure \
29 --path-prefix=/usr \
30 --path-man=/usr/share/man \
31 --path-doc=/usr/share/doc/retawq \
32 --enable-i18n \
33 --disable-news \
34 --enable-local-cgi \
35 --enable-ipv6 \
36 --set-tls=2 \
37 &&
38 make &&
39 make install || return 1
41 install -Dm644 $stuff/retawq.desktop $install/usr/share/applications/retawq.desktop
42 install -Dm644 $stuff/bookmarks.html $install/etc/skel/.retawq/bookmarks.html
43 install -Dm644 $stuff/config $install/etc/skel/.retawq/config
45 find $install -type f -exec chmod u+w '{}' \; # 444->644
46 }
48 testsuite() {
49 readelf -h $src/retawq
50 }