wok-next diff elinks-small/receipt @ 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
children 6f52e7b054e2
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 +}