wok-next view elinks/receipt @ rev 21527
updated bootchart (0.9 -> 1.20)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 15:06:45 2020 +0100 (2020-06-19) |
parents | 305b62ed355a |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="elinks"
4 VERSION="0.12pre6"
5 CATEGORY="network"
6 SHORT_DESC="Full featured www text browser"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://elinks.or.cz/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$WEB_SITE/download/$TARBALL"
14 BUILD_DEPENDS="openssl10-dev bzip2-dev spidermonkey-dev zlib-dev libidn-dev \
15 expat-dev gpm-dev gettext-dev"
16 SPLIT="$PACKAGE-small:small"
18 compile_rules() {
19 case $SET in
20 '')
21 export CPPFLAGS="$CPPFLAGS -I/usr/include/openssl-1.0"
22 export LDFLAGS="$LDFLAGS -L/usr/lib/openssl-1.0"
24 # --enable-fastmem: disables internal `malloc()` debugging and
25 # use `alloca()` wherever possible.
26 # --disable-backtrace disables internal backtrace code.
27 SET_ARGS="\
28 --with-openssl \
29 --enable-88-colors"
30 ;;
31 small)
32 SET_ARGS="\
33 --enable-small \
34 --without-gnutls \
35 --without-openssl \
36 --without-spidermonkey \
37 --without-gpm"
38 ;;
39 esac
41 ./configure \
42 --enable-fastmem \
43 --disable-backtrace \
44 --without-x \
45 $SET_ARGS \
46 $CONFIGURE_ARGS &&
47 make &&
48 make DESTDIR=$install install # keep DESTDIR
50 # No conflict with full elinks
51 case $SET in
52 small) mv $install/usr/bin/elinks $install/usr/bin/elinks-small;;
53 esac
54 }
56 genpkg_rules() {
57 case $PACKAGE in
58 elinks)
59 copy @std
60 DEPENDS="libbzip2 expat libidn openssl10 spidermonkey zlib"
61 ;;
62 *-small)
63 copy @std
64 CAT="network|without JS, SSL, GPM"
65 DEPENDS="libbzip2 expat libidn zlib"
66 ;;
67 esac
68 TAGS="web-browser browser web"
69 }