wok annotate w3m/receipt @ rev 24290
updated sshpass (1.06 -> 1.09)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 14 13:34:24 2022 +0100 (2022-01-14) |
parents | c32de9979605 |
children | 9a714ac859a3 |
rev | line source |
---|---|
mojo@14202 | 1 # SliTaz package receipt. |
mojo@14202 | 2 |
mojo@14202 | 3 PACKAGE="w3m" |
mojo@14202 | 4 VERSION="0.5.3" |
mojo@14202 | 5 CATEGORY="network" |
mojo@14202 | 6 SHORT_DESC="Text Mode Web Browser" |
mojo@14202 | 7 MAINTAINER="mojo@slitaz.org" |
pascal@15601 | 8 LICENSE="MIT" |
mojo@14202 | 9 WEB_SITE="http://w3m.sourceforge.net" |
mojo@14202 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mojo@14202 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$TARBALL" |
al@17501 | 12 TAGS="web-browser" |
mojo@14202 | 13 |
psychomaniak@20124 | 14 DEPENDS="gc libcrypto libssl ncurses imlib2" |
psychomaniak@20124 | 15 BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev imlib2-dev" |
mojo@14202 | 16 |
pascal@24113 | 17 current_version() |
pascal@24113 | 18 { |
pascal@24113 | 19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ |
pascal@24113 | 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" |
pascal@24113 | 21 } |
pascal@24113 | 22 |
mojo@14202 | 23 # Rules to configure and make the package. |
mojo@14202 | 24 compile_rules() |
mojo@14202 | 25 { |
pascal@17670 | 26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@17505 | 27 for i in $stuff/*.patch |
pascal@17505 | 28 do |
mojo@14207 | 29 if [ -f done.$(basename $i) ]; then |
mojo@14207 | 30 continue |
mojo@14207 | 31 else |
mojo@14207 | 32 patch -p0 < $i && touch done.$(basename $i) || return 1 |
mojo@14207 | 33 fi |
mojo@14207 | 34 done |
psychomaniak@20124 | 35 ./configure --enable-image=x11,fb --with-imagelib=imlib2 $CONFIGURE_ARGS |
psychomaniak@20124 | 36 make && make install |
mojo@14202 | 37 } |
mojo@14202 | 38 |
mojo@14202 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@14202 | 40 genpkg_rules() |
mojo@14202 | 41 { |
mojo@14202 | 42 cp -a $install/* $fs |
mojo@14202 | 43 } |