wok-6.x annotate elinks/receipt @ rev 24403
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 08 18:20:23 2022 +0000 (2022-02-08) |
parents | 5d53e8ccbc8d |
children | 83b97236db32 |
rev | line source |
---|---|
allan316@3279 | 1 # SliTaz package receipt. |
allan316@3279 | 2 |
allan316@3279 | 3 PACKAGE="elinks" |
psychomaniak@18278 | 4 VERSION="0.12pre6" |
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" |
al@17501 | 12 TAGS="web-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 } |