wok annotate retawq/receipt @ rev 18980
Up: New wallpapers and new mirror.
author | Leonardo Laporte <hackdorte@sapo.pt> |
---|---|
date | Tue Mar 15 05:30:13 2016 -0300 (2016-03-15) |
parents | 04239f2844c3 |
children | 8312b3fd937f |
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" |
al@17501 | 12 TAGS="web-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 { |
pascal@17670 | 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pankso@12836 | 22 # We have no locale support on ARM actually |
pankso@12836 | 23 case "$ARCH" in |
pankso@12836 | 24 arm) opts="" ;; |
pankso@12836 | 25 i?86) opts="--enable-i18n" ;; |
pankso@12836 | 26 esac |
pankso@890 | 27 cd $src |
pankso@890 | 28 ./configure \ |
pankso@890 | 29 --enable-local-cgi \ |
pankso@890 | 30 --path-prefix=/usr \ |
pankso@890 | 31 --path-doc=/usr/share/doc/retawq \ |
pankso@12836 | 32 --path-man=/usr/share/man $opts && |
pankso@890 | 33 make |
pankso@8 | 34 } |
pankso@8 | 35 |
pankso@12836 | 36 # The base webbrows for ARM, so check |
pankso@12836 | 37 testsuite() |
pankso@12836 | 38 { |
pankso@12836 | 39 readelf -h $src/retawq |
pankso@12836 | 40 } |
pankso@12836 | 41 |
pankso@8 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@8 | 43 genpkg_rules() |
pankso@8 | 44 { |
pankso@12836 | 45 mkdir -p $fs/etc $fs/usr/bin |
pankso@890 | 46 cp -a $src/retawq $fs/usr/bin |
pankso@12836 | 47 cp -a $stuff/skel $fs/etc |
al@14904 | 48 # I18n for locale-* packages |
al@14904 | 49 for lang in de es fr ja pt_BR; do |
al@14904 | 50 mkdir -p $install/usr/share/locale/$lang/LC_MESSAGES |
al@14904 | 51 cp $src/i18n/$lang.mo \ |
al@14904 | 52 $install/usr/share/locale/$lang/LC_MESSAGES/retawq.mo |
pankso@12836 | 53 done |
pankso@8 | 54 } |