wok view w3m/receipt @ rev 22012
updated tcllib (1.12 -> 1.19)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Oct 19 15:47:58 2019 +0100 (2019-10-19) |
parents | 17e313b5b9c1 |
children | 86c657b651d4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="w3m"
4 VERSION="0.5.3"
5 CATEGORY="network"
6 SHORT_DESC="Text Mode Web Browser"
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://w3m.sourceforge.net"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE/$TARBALL"
12 TAGS="web-browser"
14 DEPENDS="gc libcrypto libssl ncurses imlib2"
15 BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev imlib2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
21 for i in $stuff/*.patch
22 do
23 if [ -f done.$(basename $i) ]; then
24 continue
25 else
26 patch -p0 < $i && touch done.$(basename $i) || return 1
27 fi
28 done
29 ./configure --enable-image=x11,fb --with-imagelib=imlib2 $CONFIGURE_ARGS
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $install/* $fs
37 }