wok-6.x diff retawq/receipt @ rev 20012

Up tor (0.3.0.10)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Aug 04 00:19:50 2017 +0200 (2017-08-04)
parents 17e313b5b9c1
children 3705d68ed8f3
line diff
     1.1 --- a/retawq/receipt	Tue Feb 17 09:42:47 2015 +0100
     1.2 +++ b/retawq/receipt	Fri Aug 04 00:19:50 2017 +0200
     1.3 @@ -3,37 +3,43 @@
     1.4  PACKAGE="retawq"
     1.5  VERSION="0.2.6c"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="Text mode Web browser."
     1.8 +SHORT_DESC="Multi-threaded web browser for text terminals"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="http://retawq.sourceforge.net/"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 -WEB_SITE="http://retawq.sourceforge.net/"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15  TAGS="web-browser"
    1.16  HOST_ARCH="i486 arm"
    1.17  
    1.18 -DEPENDS="ncurses"
    1.19 -BUILD_DEPENDS="ncurses-dev"
    1.20 +DEPENDS="ncurses libtinfo"
    1.21 +BUILD_DEPENDS="ncurses-dev libtinfo"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
    1.27 +	export LDFLAGS="-ltinfo"
    1.28  	# We have no locale support on ARM actually
    1.29  	case "$ARCH" in
    1.30 -		arm) opts="" ;;
    1.31 +		arm)  opts="" ;;
    1.32  		i?86) opts="--enable-i18n" ;;
    1.33  	esac
    1.34 -	cd $src
    1.35 +	patch -p1 -i $stuff/retawq.patch
    1.36 +
    1.37  	./configure \
    1.38  		--enable-local-cgi \
    1.39  		--path-prefix=/usr \
    1.40  		--path-doc=/usr/share/doc/retawq \
    1.41 -		--path-man=/usr/share/man $opts &&
    1.42 -	make
    1.43 +		--path-man=/usr/share/man \
    1.44 +		$opts &&
    1.45 +	make && make install
    1.46 +
    1.47 +	mkdir -p $install/usr/share/applications $install/etc
    1.48 +	cp $stuff/retawq.desktop $install/usr/share/applications
    1.49 +	cp -a $stuff/skel $install/etc
    1.50  }
    1.51  
    1.52 -# The base webbrows for ARM, so check
    1.53 +# The base web browser for ARM, so check
    1.54  testsuite()
    1.55  {
    1.56  	readelf -h $src/retawq
    1.57 @@ -42,13 +48,5 @@
    1.58  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.59  genpkg_rules()
    1.60  {
    1.61 -	mkdir -p $fs/etc $fs/usr/bin
    1.62 -	cp -a $src/retawq $fs/usr/bin
    1.63 -	cp -a $stuff/skel $fs/etc
    1.64 -	# I18n for locale-* packages
    1.65 -	for lang in de es fr ja pt_BR; do
    1.66 -		mkdir -p $install/usr/share/locale/$lang/LC_MESSAGES
    1.67 -		cp $src/i18n/$lang.mo \
    1.68 -			$install/usr/share/locale/$lang/LC_MESSAGES/retawq.mo
    1.69 -	done
    1.70 +	cook_copy_folders bin skel
    1.71  }