wok-6.x annotate retawq/receipt @ rev 20195
Up xfsprogs (4.14.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 12 14:48:56 2018 +0100 (2018-02-12) |
parents | 17e313b5b9c1 |
children | 3705d68ed8f3 |
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@19543 | 51 cook_copy_folders bin skel |
pankso@8 | 52 } |