wok-next annotate retawq/receipt @ rev 19999

Up qedit, qbittorrent
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 21:21:58 2017 +0200 (2017-10-20)
parents f463de72afe3
children c4e53a39395a
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
pascal@19960 15 DEPENDS="ncurses"
pascal@19960 16 BUILD_DEPENDS="ncurses-dev"
pankso@8 17
pankso@8 18 # Rules to configure and make the package.
pankso@8 19 compile_rules()
pankso@8 20 {
pankso@12836 21 # We have no locale support on ARM actually
pankso@12836 22 case "$ARCH" in
al@19543 23 arm) opts="" ;;
pankso@12836 24 i?86) opts="--enable-i18n" ;;
pankso@12836 25 esac
al@19543 26 patch -p1 -i $stuff/retawq.patch
al@19543 27
pankso@890 28 ./configure \
pankso@890 29 --enable-local-cgi \
pankso@890 30 --path-prefix=/usr \
pankso@890 31 --path-doc=/usr/share/doc/retawq \
al@19543 32 --path-man=/usr/share/man \
al@19543 33 $opts &&
al@19543 34 make && make install
al@19543 35
al@19543 36 mkdir -p $install/usr/share/applications $install/etc
al@19543 37 cp $stuff/retawq.desktop $install/usr/share/applications
al@19543 38 cp -a $stuff/skel $install/etc
pankso@8 39 }
pankso@8 40
al@19543 41 # The base web browser for ARM, so check
pankso@12836 42 testsuite()
pankso@12836 43 {
pankso@12836 44 readelf -h $src/retawq
pankso@12836 45 }
pankso@12836 46
pankso@8 47 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8 48 genpkg_rules()
pankso@8 49 {
al@19783 50 copy bin/ skel/
pankso@8 51 }