wok-current view retawq/receipt @ rev 13330
linux: add RT2800PCI
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 04 11:11:15 2012 +0200 (2012-09-04) |
parents | 8be66f03fbd2 |
children | f1e757631080 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://retawq.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="browser"
12 HOST_ARCH="i486 arm"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # We have no locale support on ARM actually
21 case "$ARCH" in
22 arm) opts="" ;;
23 i?86) opts="--enable-i18n" ;;
24 esac
25 cd $src
26 ./configure \
27 --enable-local-cgi \
28 --path-prefix=/usr \
29 --path-doc=/usr/share/doc/retawq \
30 --path-man=/usr/share/man $opts &&
31 make
32 }
34 # The base webbrows for ARM, so check
35 testsuite()
36 {
37 readelf -h $src/retawq
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/etc $fs/usr/bin
44 cp -a $src/retawq $fs/usr/bin
45 cp -a $stuff/skel $fs/etc
46 # I18n
47 for lang in $LOCALE; do
48 if [ -f "$src/i18n/$lang.mo" ]; then
49 mkdir -p $fs/usr/share/locale/$lang/LC_MESSAGES
50 cp $src/i18n/$lang.mo \
51 $fs/usr/share/locale/$lang/LC_MESSAGES/retawq.mo
52 fi
53 done
54 }