wok-current annotate elinks/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 | 7896f0694ef6 |
children | 5d53e8ccbc8d |
rev | line source |
---|---|
allan316@3279 | 1 # SliTaz package receipt. |
allan316@3279 | 2 |
allan316@3279 | 3 PACKAGE="elinks" |
slaxemulator@7296 | 4 VERSION="0.11.7" |
allan316@3279 | 5 CATEGORY="network" |
allan316@3279 | 6 SHORT_DESC="Full featured www text browser" |
allan316@3279 | 7 MAINTAINER="allan316@gmail.com" |
pascal@15002 | 8 LICENSE="GPL2" |
allan316@3279 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
allan316@3279 | 10 WEB_SITE="http://elinks.or.cz" |
allan316@3279 | 11 WGET_URL="$WEB_SITE/download/$TARBALL" |
jozee@4935 | 12 TAGS="browser" |
allan316@3279 | 13 |
pankso@15986 | 14 DEPENDS="openssl bzip2 spidermonkey zlib libidn expat gpm" |
pankso@15986 | 15 BUILD_DEPENDS="openssl-dev bzip2-dev spidermonkey-dev zlib-dev libidn-dev \ |
pankso@15986 | 16 expat-dev gpm-dev" |
pankso@9954 | 17 |
allan316@3279 | 18 # Rules to configure and make the package. |
allan316@3279 | 19 compile_rules() |
allan316@3279 | 20 { |
pankso@15986 | 21 # --enable-fastmem: disables internal `malloc()` debugging and |
pankso@15986 | 22 # use `alloca()` wherever possible. |
pankso@15986 | 23 # --disable-backtrace disables internal backtrace code. |
pankso@15986 | 24 ./configure \ |
pankso@15986 | 25 --enable-fastmem \ |
pankso@15986 | 26 --disable-backtrace \ |
pankso@15986 | 27 --without-x \ |
pankso@15986 | 28 $CONFIGURE_ARGS && |
slaxemulator@10323 | 29 make && make DESTDIR=$DESTDIR install |
allan316@3279 | 30 } |
allan316@3279 | 31 |
allan316@3279 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3279 | 33 genpkg_rules() |
allan316@3279 | 34 { |
allan316@3279 | 35 mkdir -p $fs/usr |
pankso@9954 | 36 cp -a $install/usr/bin $fs/usr |
allan316@3279 | 37 } |