wok-current view w3m/receipt @ rev 24236

updated perl-lwp-protocol-https (6.07 -> 6.10)
author Hans-G?nter Theisgen
date Sun Jan 02 07:09:29 2022 +0100 (2022-01-02)
parents c32de9979605
children 9a714ac859a3
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 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
27 for i in $stuff/*.patch
28 do
29 if [ -f done.$(basename $i) ]; then
30 continue
31 else
32 patch -p0 < $i && touch done.$(basename $i) || return 1
33 fi
34 done
35 ./configure --enable-image=x11,fb --with-imagelib=imlib2 $CONFIGURE_ARGS
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }