wok-next diff links/receipt @ rev 20800

apngopt: typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 12 01:07:56 2018 +0300 (2018-06-12)
parents 757d032c55c7
children f48456621a9d
line diff
     1.1 --- a/links/receipt	Fri Mar 30 19:31:50 2018 +0300
     1.2 +++ b/links/receipt	Tue Jun 12 01:07:56 2018 +0300
     1.3 @@ -3,17 +3,18 @@
     1.4  PACKAGE="links"
     1.5  VERSION="2.14"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="Light and fast web browser using Ncurses or Xlib"
     1.8 +SHORT_DESC="Light and fast web browser"
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11  WEB_SITE="http://links.twibright.com/"
    1.12 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/links.html"
    1.13  
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16  WGET_URL="http://links.twibright.com/download/$TARBALL"
    1.17  
    1.18 -BUILD_DEPENDS="openssl-dev xorg-libX11-dev jpeg-dev libpng16-dev tiff-dev \
    1.19 -zlib-dev xorg-libXdmcp-dev xorg-libxcb-dev xorg-libXau-dev xz-dev bzip2-dev \
    1.20 -gpm-dev"
    1.21 +BUILD_DEPENDS="gpm-dev openssl-dev zlib-dev bzip2-dev xz-dev xorg-libX11-dev \
    1.22 +xorg-libXt-dev libpng16-dev libjpeg-turbo-dev tiff-dev directfb-dev"
    1.23 +SPLIT="links-dfb:dfb links-cli:cli"
    1.24  
    1.25  case "$ARCH" in
    1.26  	arm*)
    1.27 @@ -26,9 +27,14 @@
    1.28  esac
    1.29  
    1.30  compile_rules() {
    1.31 +	case $SET in
    1.32 +		'')  SET_ARGS='--enable-graphics --without-directfb --with-x';;
    1.33 +		dfb) SET_ARGS='--enable-graphics --with-directfb --without-x';;
    1.34 +		cli) SET_ARGS='--disable-graphics';;
    1.35 +	esac
    1.36 +
    1.37  	./configure \
    1.38 -		--enable-graphics \
    1.39 -		--without-directfb \
    1.40 +		$SET_ARGS \
    1.41  		$CONFIGURE_ARGS &&
    1.42  	make &&
    1.43  	make DESTDIR=$DESTDIR install || return 1
    1.44 @@ -38,9 +44,24 @@
    1.45  }
    1.46  
    1.47  genpkg_rules() {
    1.48 -	copy @std
    1.49 -	DEPENDS="ncurses openssl jpeg libpng16 tiff xorg-libX11 xorg-libXau \
    1.50 -	xorg-libXdmcp xorg-libxcb zlib liblzma bzlib libgomp"
    1.51 -	SUGGESTED="gpm"
    1.52 +	case $PACKAGE in
    1.53 +		links)
    1.54 +			copy @std
    1.55 +			DEPENDS="bzlib libgomp libjpeg-turbo liblzma libpng16 openssl tiff \
    1.56 +			xorg-libX11 zlib"
    1.57 +			SUGGESTED="gpm"
    1.58 +			;;
    1.59 +		links-dfb)
    1.60 +			copy @std
    1.61 +			DEPENDS="bzlib directfb libgomp libjpeg-turbo liblzma libpng16 \
    1.62 +			openssl tiff zlib"
    1.63 +			PROVIDE="links"
    1.64 +			;;
    1.65 +		links-cli)
    1.66 +			copy @std
    1.67 +			DEPENDS="bzlib liblzma openssl zlib"
    1.68 +			PROVIDE="links"
    1.69 +			;;
    1.70 +	esac
    1.71  	TAGS="web-browser"
    1.72  }