wok-current view w3m/receipt @ rev 25509
sgmixer: update wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 13:14:45 2023 +0000 (21 months ago) |
parents | b0069c845544 |
children | f082c8c505e6 |
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="https://w3m.sourceforge.net/index.en.html"
10 TARBALL="w3m_0.5.3+git20220429.orig.tar.xz"
11 WGET_URL="https://deb.debian.org/debian/pool/main/w/$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 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 }