wok-current annotate 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 |
rev | line source |
---|---|
pankso@15986 | 1 # SliTaz package receipt. |
pankso@15986 | 2 |
pankso@15986 | 3 PACKAGE="elinks-small" |
pankso@15986 | 4 VERSION="0.11.7" |
pankso@15986 | 5 CATEGORY="network" |
pankso@15986 | 6 SHORT_DESC="Small Elinks www text browser version (no JS SSL GPM)" |
pankso@15986 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15986 | 8 LICENSE="GPL2" |
pankso@15986 | 9 SOURCE="elinks" |
pankso@15986 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@15986 | 11 WEB_SITE="http://elinks.or.cz" |
pankso@15986 | 12 WGET_URL="$WEB_SITE/download/$TARBALL" |
pankso@15986 | 13 HOST_ARCH="i486 arm" |
pankso@15986 | 14 |
pankso@15986 | 15 TAGS="browser web" |
pankso@15986 | 16 DEPENDS="bzip2 zlib libidn expat" |
pankso@15986 | 17 BUILD_DEPENDS="bzip2-dev zlib-dev libidn-dev expat-dev" |
pankso@15986 | 18 |
pankso@15986 | 19 # Rules to configure and make the package. |
pankso@15986 | 20 compile_rules() |
pankso@15986 | 21 { |
pankso@15986 | 22 ./configure \ |
pankso@15986 | 23 --enable-small \ |
pankso@15986 | 24 --enable-fastmem \ |
pankso@15986 | 25 --disable-backtrace \ |
pankso@15986 | 26 --without-gnutls \ |
pankso@15986 | 27 --without-openssl \ |
pankso@15986 | 28 --without-spidermonkey \ |
pankso@15986 | 29 --without-gpm \ |
pankso@15986 | 30 --without-x \ |
pankso@15986 | 31 $CONFIGURE_ARGS && |
pankso@15986 | 32 make && make DESTDIR=$DESTDIR install |
pankso@15986 | 33 } |
pankso@15986 | 34 |
pankso@15986 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15986 | 36 genpkg_rules() |
pankso@15986 | 37 { |
pankso@15986 | 38 mkdir -p $fs/usr/bin |
pankso@15986 | 39 # No conflict with full elinks |
pankso@15986 | 40 cp -a $install/usr/bin/elinks $fs/usr/bin/elinks-small |
pankso@15986 | 41 } |