wok view w3m/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents aa585fba6e4b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="w3m"
4 VERSION="0.5.3+git20220429"
5 CATEGORY="network"
6 SHORT_DESC="Text Mode Web Browser"
7 MAINTAINER="mojo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://w3m.sourceforge.net/index.en.html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/tats/w3m/archive/refs/tags/v$VERSION.tar.gz"
12 TAGS="web-browser"
14 DEPENDS="gc libcrypto libssl ncurses imlib2"
15 BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev imlib2-dev gcc83"
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 ./configure \
27 CC=gcc-83 \
28 CXX=g++-83 \
29 --enable-image=x11,fb \
30 --with-imagelib=imlib2 \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }