wok-6.x annotate w3m/receipt @ rev 24105
Add bindfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 16:21:20 2021 +0000 (2021-09-25) |
parents | 17e313b5b9c1 |
children | 86c657b651d4 |
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 |
mojo@14202 | 17 # Rules to configure and make the package. |
mojo@14202 | 18 compile_rules() |
mojo@14202 | 19 { |
pascal@17670 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@17505 | 21 for i in $stuff/*.patch |
pascal@17505 | 22 do |
mojo@14207 | 23 if [ -f done.$(basename $i) ]; then |
mojo@14207 | 24 continue |
mojo@14207 | 25 else |
mojo@14207 | 26 patch -p0 < $i && touch done.$(basename $i) || return 1 |
mojo@14207 | 27 fi |
mojo@14207 | 28 done |
psychomaniak@20124 | 29 ./configure --enable-image=x11,fb --with-imagelib=imlib2 $CONFIGURE_ARGS |
psychomaniak@20124 | 30 make && make install |
mojo@14202 | 31 } |
mojo@14202 | 32 |
mojo@14202 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@14202 | 34 genpkg_rules() |
mojo@14202 | 35 { |
mojo@14202 | 36 cp -a $install/* $fs |
mojo@14202 | 37 } |