wok-next view elinks-small/receipt @ rev 20669

vde2: up / fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:21:30 2018 +0300 (2018-05-11)
parents 2ce8e40ab44e
children d958fec46c9f
line source
1 # SliTaz package receipt.
3 PACKAGE="elinks-small"
4 VERSION="0.12pre6"
5 CATEGORY="network"
6 SHORT_DESC="Small Elinks www text browser version (no JS SSL GPM)"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="elinks"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://elinks.or.cz"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
13 TAGS="web-browser"
15 TAGS="browser web"
16 DEPENDS="bzip2 zlib libidn expat"
17 BUILD_DEPENDS="bzip2-dev zlib-dev libidn-dev expat-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --enable-small \
24 --enable-fastmem \
25 --disable-backtrace \
26 --without-gnutls \
27 --without-openssl \
28 --without-spidermonkey \
29 --without-gpm \
30 --without-x \
31 $CONFIGURE_ARGS &&
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 # No conflict with full elinks
40 cp -a $install/usr/bin/elinks $fs/usr/bin/elinks-small
41 }