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