wok annotate elinks-small/receipt @ rev 25284
roundup: added BUILD_DEPENDS
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 16:14:38 2022 +0100 (2022-07-18) |
parents | 2ce8e40ab44e |
children |
rev | line source |
---|---|
pankso@15986 | 1 # SliTaz package receipt. |
pankso@15986 | 2 |
pankso@15986 | 3 PACKAGE="elinks-small" |
psychomaniak@18278 | 4 VERSION="0.12pre6" |
pankso@15986 | 5 CATEGORY="network" |
pankso@15986 | 6 SHORT_DESC="Small Elinks www text browser version (no JS SSL GPM)" |
pankso@15986 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@15986 | 8 LICENSE="GPL2" |
pankso@15986 | 9 SOURCE="elinks" |
pankso@15986 | 10 TARBALL="$SOURCE-$VERSION.tar.bz2" |
pankso@15986 | 11 WEB_SITE="http://elinks.or.cz" |
pankso@15986 | 12 WGET_URL="$WEB_SITE/download/$TARBALL" |
al@17501 | 13 TAGS="web-browser" |
pankso@15989 | 14 #HOST_ARCH="i486 arm" |
pankso@15986 | 15 |
pankso@15986 | 16 TAGS="browser web" |
pankso@15986 | 17 DEPENDS="bzip2 zlib libidn expat" |
pankso@15986 | 18 BUILD_DEPENDS="bzip2-dev zlib-dev libidn-dev expat-dev" |
pankso@15986 | 19 |
pascal@24427 | 20 # What is the latest version available today? |
pascal@24427 | 21 current_version() |
pascal@24427 | 22 { |
pascal@24427 | 23 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 24 sed "/current/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 25 } |
pascal@24427 | 26 |
pankso@15986 | 27 # Rules to configure and make the package. |
pankso@15986 | 28 compile_rules() |
pankso@15986 | 29 { |
pankso@15986 | 30 ./configure \ |
pankso@15986 | 31 --enable-small \ |
pankso@15986 | 32 --enable-fastmem \ |
pankso@15986 | 33 --disable-backtrace \ |
pankso@15986 | 34 --without-gnutls \ |
pankso@15986 | 35 --without-openssl \ |
pankso@15986 | 36 --without-spidermonkey \ |
pankso@15986 | 37 --without-gpm \ |
pankso@15986 | 38 --without-x \ |
pankso@15986 | 39 $CONFIGURE_ARGS && |
pankso@15986 | 40 make && make DESTDIR=$DESTDIR install |
pankso@15986 | 41 } |
pankso@15986 | 42 |
pankso@15986 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15986 | 44 genpkg_rules() |
pankso@15986 | 45 { |
pankso@15986 | 46 mkdir -p $fs/usr/bin |
pankso@15986 | 47 # No conflict with full elinks |
pankso@15986 | 48 cp -a $install/usr/bin/elinks $fs/usr/bin/elinks-small |
pankso@15986 | 49 } |