wok annotate elinks-small/receipt @ rev 20298
Up tazlito (492)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 11:06:29 2018 +0200 (2018-05-01) |
parents | 5d53e8ccbc8d |
children | 83b97236db32 |
rev | line source |
---|---|
pankso@15986 | 1 # SliTaz package receipt. |
pankso@15986 | 2 |
pankso@15986 | 3 PACKAGE="elinks-small" |
psychomaniak@18278 | 4 VERSION="0.12pre6" |
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" |
al@17501 | 13 TAGS="web-browser" |
pankso@15989 | 14 #HOST_ARCH="i486 arm" |
pankso@15986 | 15 |
pankso@15986 | 16 TAGS="browser web" |
pankso@15986 | 17 DEPENDS="bzip2 zlib libidn expat" |
pankso@15986 | 18 BUILD_DEPENDS="bzip2-dev zlib-dev libidn-dev expat-dev" |
pankso@15986 | 19 |
pankso@15986 | 20 # Rules to configure and make the package. |
pankso@15986 | 21 compile_rules() |
pankso@15986 | 22 { |
pankso@15986 | 23 ./configure \ |
pankso@15986 | 24 --enable-small \ |
pankso@15986 | 25 --enable-fastmem \ |
pankso@15986 | 26 --disable-backtrace \ |
pankso@15986 | 27 --without-gnutls \ |
pankso@15986 | 28 --without-openssl \ |
pankso@15986 | 29 --without-spidermonkey \ |
pankso@15986 | 30 --without-gpm \ |
pankso@15986 | 31 --without-x \ |
pankso@15986 | 32 $CONFIGURE_ARGS && |
pankso@15986 | 33 make && make DESTDIR=$DESTDIR install |
pankso@15986 | 34 } |
pankso@15986 | 35 |
pankso@15986 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15986 | 37 genpkg_rules() |
pankso@15986 | 38 { |
pankso@15986 | 39 mkdir -p $fs/usr/bin |
pankso@15986 | 40 # No conflict with full elinks |
pankso@15986 | 41 cp -a $install/usr/bin/elinks $fs/usr/bin/elinks-small |
pankso@15986 | 42 } |