wok view w3m/receipt @ rev 23766

qemu/cloop: tiny fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 06 19:55:46 2020 +0000 (2020-05-06)
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 }