wok-6.x view retawq/receipt @ rev 18250

Up tazpanel (516)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 02 20:30:04 2015 +0200 (2015-08-02)
parents 04239f2844c3
children 8312b3fd937f
line source
1 # SliTaz package receipt.
3 PACKAGE="retawq"
4 VERSION="0.2.6c"
5 CATEGORY="network"
6 SHORT_DESC="Text mode Web browser."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://retawq.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="web-browser"
13 HOST_ARCH="i486 arm"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
22 # We have no locale support on ARM actually
23 case "$ARCH" in
24 arm) opts="" ;;
25 i?86) opts="--enable-i18n" ;;
26 esac
27 cd $src
28 ./configure \
29 --enable-local-cgi \
30 --path-prefix=/usr \
31 --path-doc=/usr/share/doc/retawq \
32 --path-man=/usr/share/man $opts &&
33 make
34 }
36 # The base webbrows for ARM, so check
37 testsuite()
38 {
39 readelf -h $src/retawq
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/etc $fs/usr/bin
46 cp -a $src/retawq $fs/usr/bin
47 cp -a $stuff/skel $fs/etc
48 # I18n for locale-* packages
49 for lang in de es fr ja pt_BR; do
50 mkdir -p $install/usr/share/locale/$lang/LC_MESSAGES
51 cp $src/i18n/$lang.mo \
52 $install/usr/share/locale/$lang/LC_MESSAGES/retawq.mo
53 done
54 }