wok annotate retawq/receipt @ rev 15374

Up apache-mod-perl (2.0.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 17 18:09:17 2013 +0000 (2013-10-17)
parents 5f1254dc8217
children 5d53e8ccbc8d
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"
pankso@8 6 SHORT_DESC="Text mode Web browser."
pankso@8 7 MAINTAINER="pankso@slitaz.org"
al@14904 8 LICENSE="GPL2"
pankso@8 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@8 10 WEB_SITE="http://retawq.sourceforge.net/"
pankso@8 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4972 12 TAGS="browser"
pankso@12836 13 HOST_ARCH="i486 arm"
pankso@12836 14
pankso@12836 15 DEPENDS="ncurses"
pankso@12836 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
pankso@12836 23 arm) opts="" ;;
pankso@12836 24 i?86) opts="--enable-i18n" ;;
pankso@12836 25 esac
pankso@890 26 cd $src
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 \
pankso@12836 31 --path-man=/usr/share/man $opts &&
pankso@890 32 make
pankso@8 33 }
pankso@8 34
pankso@12836 35 # The base webbrows for ARM, so check
pankso@12836 36 testsuite()
pankso@12836 37 {
pankso@12836 38 readelf -h $src/retawq
pankso@12836 39 }
pankso@12836 40
pankso@8 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@8 42 genpkg_rules()
pankso@8 43 {
pankso@12836 44 mkdir -p $fs/etc $fs/usr/bin
pankso@890 45 cp -a $src/retawq $fs/usr/bin
pankso@12836 46 cp -a $stuff/skel $fs/etc
al@14904 47 # I18n for locale-* packages
al@14904 48 for lang in de es fr ja pt_BR; do
al@14904 49 mkdir -p $install/usr/share/locale/$lang/LC_MESSAGES
al@14904 50 cp $src/i18n/$lang.mo \
al@14904 51 $install/usr/share/locale/$lang/LC_MESSAGES/retawq.mo
pankso@12836 52 done
pankso@8 53 }