wok-current view retawq/receipt @ rev 15982
syslinux-tools: add meminfo.exe (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 01 19:54:32 2014 +0000 (2014-03-01) |
parents | 5f1254dc8217 |
children | 5d53e8ccbc8d |
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="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 # We have no locale support on ARM actually
22 case "$ARCH" in
23 arm) opts="" ;;
24 i?86) opts="--enable-i18n" ;;
25 esac
26 cd $src
27 ./configure \
28 --enable-local-cgi \
29 --path-prefix=/usr \
30 --path-doc=/usr/share/doc/retawq \
31 --path-man=/usr/share/man $opts &&
32 make
33 }
35 # The base webbrows for ARM, so check
36 testsuite()
37 {
38 readelf -h $src/retawq
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/etc $fs/usr/bin
45 cp -a $src/retawq $fs/usr/bin
46 cp -a $stuff/skel $fs/etc
47 # I18n for locale-* packages
48 for lang in de es fr ja pt_BR; do
49 mkdir -p $install/usr/share/locale/$lang/LC_MESSAGES
50 cp $src/i18n/$lang.mo \
51 $install/usr/share/locale/$lang/LC_MESSAGES/retawq.mo
52 done
53 }