wok-current annotate elinks/receipt @ rev 24435
updated consolekit2 and consolekit2-dev (1.2.1 -> 1.2.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 13 07:06:09 2022 +0100 (2022-02-13) |
parents | 2ce8e40ab44e |
children |
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 |
pascal@24427 | 18 # What is the latest version available today? |
pascal@24427 | 19 current_version() |
pascal@24427 | 20 { |
pascal@24427 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 22 sed "/current/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 23 } |
pascal@24427 | 24 |
allan316@3279 | 25 # Rules to configure and make the package. |
allan316@3279 | 26 compile_rules() |
allan316@3279 | 27 { |
pankso@15986 | 28 # --enable-fastmem: disables internal `malloc()` debugging and |
pankso@15986 | 29 # use `alloca()` wherever possible. |
pankso@15986 | 30 # --disable-backtrace disables internal backtrace code. |
pankso@15986 | 31 ./configure \ |
pankso@15986 | 32 --enable-fastmem \ |
pankso@15986 | 33 --disable-backtrace \ |
pankso@15986 | 34 --without-x \ |
pankso@15986 | 35 $CONFIGURE_ARGS && |
slaxemulator@10323 | 36 make && make DESTDIR=$DESTDIR install |
allan316@3279 | 37 } |
allan316@3279 | 38 |
allan316@3279 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3279 | 40 genpkg_rules() |
allan316@3279 | 41 { |
allan316@3279 | 42 mkdir -p $fs/usr |
pankso@9954 | 43 cp -a $install/usr/bin $fs/usr |
allan316@3279 | 44 } |