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