wok annotate retawq/receipt @ rev 22038
updated tlp (1.1 -> 1.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Oct 21 15:53:37 2019 +0100 (2019-10-21) |
parents | dd7ea31cf94c |
children | e919c5a2742d |
rev | line source |
---|---|
pankso@8 | 1 # SliTaz package receipt. |
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" |
pankso@8 | 7 MAINTAINER="pankso@slitaz.org" |
al@14904 | 8 LICENSE="GPL2" |
al@19543 | 9 WEB_SITE="http://retawq.sourceforge.net/" |
pankso@8 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@8 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@17501 | 12 TAGS="web-browser" |
pankso@12836 | 13 HOST_ARCH="i486 arm" |
pankso@12836 | 14 |
llevrel@20641 | 15 DEPENDS="ncurses libtinfo openssl" |
pascal@20650 | 16 BUILD_DEPENDS="ncurses-dev gettext-tools libtinfo openssl-dev" |
pankso@8 | 17 |
pankso@8 | 18 # Rules to configure and make the package. |
pankso@8 | 19 compile_rules() |
pankso@8 | 20 { |
pascal@20649 | 21 # regenerate *.mo files (shipped ones are missed headers that lead to |
pascal@20649 | 22 # thousand of errors when compressor normalize catalogs) |
pascal@20649 | 23 for i in i18n/*.mo ; do |
pascal@20649 | 24 rm $i && msgfmt -o $i ${i/mo/po} |
pascal@20649 | 25 done |
pascal@20649 | 26 |
al@19543 | 27 export LDFLAGS="-ltinfo" |
pankso@12836 | 28 # We have no locale support on ARM actually |
pankso@12836 | 29 case "$ARCH" in |
al@19543 | 30 arm) opts="" ;; |
pankso@12836 | 31 i?86) opts="--enable-i18n" ;; |
pankso@12836 | 32 esac |
al@19543 | 33 patch -p1 -i $stuff/retawq.patch |
al@19543 | 34 |
pankso@890 | 35 ./configure \ |
pankso@890 | 36 --enable-local-cgi \ |
llevrel@20641 | 37 --set-tls=2 \ |
pankso@890 | 38 --path-prefix=/usr \ |
pankso@890 | 39 --path-doc=/usr/share/doc/retawq \ |
al@19543 | 40 --path-man=/usr/share/man \ |
al@19543 | 41 $opts && |
al@19543 | 42 make && make install |
al@19543 | 43 |
al@19543 | 44 mkdir -p $install/usr/share/applications $install/etc |
al@19543 | 45 cp $stuff/retawq.desktop $install/usr/share/applications |
al@19543 | 46 cp -a $stuff/skel $install/etc |
pankso@8 | 47 } |
pankso@8 | 48 |
al@19543 | 49 # The base web browser for ARM, so check |
pankso@12836 | 50 testsuite() |
pankso@12836 | 51 { |
pankso@12836 | 52 readelf -h $src/retawq |
pankso@12836 | 53 } |
pankso@12836 | 54 |
pankso@8 | 55 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 56 genpkg_rules() |
pankso@8 | 57 { |
al@19543 | 58 cook_copy_folders bin skel |
pankso@8 | 59 } |