wok-next view w3m/receipt @ rev 20312

Up lbreakout2 (2.6.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 21:31:06 2017 +0100 (2017-11-10)
parents 17e313b5b9c1
children e6615350078d
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"
15 BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev zlib-dev perl gettext"
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 $CONFIGURE_ARGS && make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }