wok-next annotate retawq/receipt @ rev 20630

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