wok-6.x rev 15986

elinks: remove deps on X and add elinks-small
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 02 01:30:05 2014 +0100 (2014-03-02)
parents a6a5bf468a61
children d8dd78808071
files elinks-small/receipt elinks/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/elinks-small/receipt	Sun Mar 02 01:30:05 2014 +0100
     1.3 @@ -0,0 +1,41 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="elinks-small"
     1.7 +VERSION="0.11.7"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="Small Elinks www text browser version (no JS SSL GPM)"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +SOURCE="elinks"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://elinks.or.cz"
    1.15 +WGET_URL="$WEB_SITE/download/$TARBALL"
    1.16 +HOST_ARCH="i486 arm"
    1.17 +
    1.18 +TAGS="browser web"
    1.19 +DEPENDS="bzip2 zlib libidn expat"
    1.20 +BUILD_DEPENDS="bzip2-dev zlib-dev libidn-dev expat-dev"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	./configure \
    1.26 +		--enable-small \
    1.27 +		--enable-fastmem \
    1.28 +		--disable-backtrace \
    1.29 +		--without-gnutls \
    1.30 +		--without-openssl \
    1.31 +		--without-spidermonkey \
    1.32 +		--without-gpm \
    1.33 +		--without-x \
    1.34 +		$CONFIGURE_ARGS && 
    1.35 +	make && make DESTDIR=$DESTDIR install
    1.36 +}
    1.37 +
    1.38 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 +genpkg_rules()
    1.40 +{
    1.41 +	mkdir -p $fs/usr/bin
    1.42 +	# No conflict with full elinks
    1.43 +	cp -a $install/usr/bin/elinks $fs/usr/bin/elinks-small
    1.44 +}
     2.1 --- a/elinks/receipt	Sun Mar 02 00:40:54 2014 +0100
     2.2 +++ b/elinks/receipt	Sun Mar 02 01:30:05 2014 +0100
     2.3 @@ -11,16 +11,21 @@
     2.4  WGET_URL="$WEB_SITE/download/$TARBALL"
     2.5  TAGS="browser"
     2.6  
     2.7 -DEPENDS="openssl bzip2 spidermonkey xorg-libX11 zlib libidn expat \
     2.8 -xorg-libXau xorg-libXdmcp"
     2.9 -BUILD_DEPENDS="openssl-dev bzip2-dev spidermonkey-dev libidn-dev expat-dev \
    2.10 -xorg-libXau-dev xorg-libXdmcp-dev"
    2.11 +DEPENDS="openssl bzip2 spidermonkey zlib libidn expat gpm"
    2.12 +BUILD_DEPENDS="openssl-dev bzip2-dev spidermonkey-dev zlib-dev libidn-dev \
    2.13 +expat-dev gpm-dev"
    2.14  
    2.15  # Rules to configure and make the package.
    2.16  compile_rules()
    2.17  {
    2.18 -	cd $src
    2.19 -	./configure $CONFIGURE_ARGS && 
    2.20 +	# --enable-fastmem: disables internal `malloc()` debugging and 
    2.21 +	# use `alloca()` wherever possible.
    2.22 +	# --disable-backtrace disables internal backtrace code.
    2.23 +	./configure \
    2.24 +		--enable-fastmem \
    2.25 +		--disable-backtrace \
    2.26 +		--without-x \
    2.27 +		$CONFIGURE_ARGS && 
    2.28  	make && make DESTDIR=$DESTDIR install
    2.29  }
    2.30  
    2.31 @@ -30,4 +35,3 @@
    2.32  	mkdir -p $fs/usr
    2.33  	cp -a $install/usr/bin $fs/usr
    2.34  }
    2.35 -