wok rev 16097

ARM: add links (at least we have a GUI browser)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 21:54:03 2014 +0100 (2014-03-16)
parents 0b6c57347733
children 72d7a80cbd00
files links/receipt
line diff
     1.1 --- a/links/receipt	Sun Mar 16 20:32:49 2014 +0100
     1.2 +++ b/links/receipt	Sun Mar 16 21:54:03 2014 +0100
     1.3 @@ -9,23 +9,36 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://links.twibright.com/"
     1.6  WGET_URL="http://links.twibright.com/download/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9 -DEPENDS="ncurses openssl jpeg libpng tiff xorg-libX11 xorg-libXau \
    1.10 -xorg-libXdmcp zlib"
    1.11 -BUILD_DEPENDS="openssl-dev xorg-libXt-dev ncurses-dev jpeg-dev libpng-dev 
    1.12 -tiff-dev zlib-dev"
    1.13 +SUGGESTED="gpm"
    1.14 +DEPENDS="ncurses libssl libcrypto jpeg libpng tiff xorg-libX11 xorg-libXau \
    1.15 +xorg-libXdmcp libxcb zlib liblzma bzlib"
    1.16 +BUILD_DEPENDS="openssl-dev xorg-libX11-dev jpeg-dev libpng-dev tiff-dev \
    1.17 +zlib-dev xorg-libXdmcp-dev libxcb-dev xorg-libXau-dev xz-dev bzip2-dev \
    1.18 +gpm-dev"
    1.19 +
    1.20 +# Handle cross compilation
    1.21 +case "$ARCH" in
    1.22 +	arm*)
    1.23 +		VERSION="2.7" 
    1.24 +		TARBALL="$PACKAGE-$VERSION.tar.gz" 
    1.25 +		WGET_URL="http://links.twibright.com/download/$TARBALL" ;;
    1.26 +esac
    1.27 +
    1.28 +# Handle SliTaz arch
    1.29 +case "$SLITAZ_ARCH" in
    1.30 +	arm*) VERSION="2.7" ;;
    1.31 +esac
    1.32  
    1.33  # Rules to configure and make the package.
    1.34  compile_rules()
    1.35  {
    1.36 -	cd $src
    1.37  	./configure \
    1.38  		--prefix=/usr \
    1.39  		--sysconfdir=/etc \
    1.40 -		--mandir=/usr/share/man \
    1.41 +		--enable-graphics \
    1.42  		--without-directfb \
    1.43 -		--without-bzip2 \
    1.44 -		--enable-graphics \
    1.45  		$CONFIGURE_ARGS &&
    1.46  	make &&
    1.47  	make DESTDIR=$DESTDIR install