wok-6.x view elinks/receipt @ rev 23861
xvkbd: fix fetch,compile,and genpkg
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jun 19 01:26:32 2020 -0400 (2020-06-19) |
parents | 5d53e8ccbc8d |
children | 83b97236db32 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://elinks.or.cz"
11 WGET_URL="$WEB_SITE/download/$TARBALL"
12 TAGS="web-browser"
14 DEPENDS="openssl bzip2 spidermonkey zlib libidn expat gpm"
15 BUILD_DEPENDS="openssl-dev bzip2-dev spidermonkey-dev zlib-dev libidn-dev \
16 expat-dev gpm-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # --enable-fastmem: disables internal `malloc()` debugging and
22 # use `alloca()` wherever possible.
23 # --disable-backtrace disables internal backtrace code.
24 ./configure \
25 --enable-fastmem \
26 --disable-backtrace \
27 --without-x \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }