SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "w3m"

# SliTaz package receipt.

PACKAGE="w3m"
VERSION="0.5.3+git20220429"
CATEGORY="network"
SHORT_DESC="Text Mode Web Browser"
MAINTAINER="mojo@slitaz.org"
LICENSE="MIT"
WEB_SITE="https://w3m.sourceforge.net/index.en.html"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/tats/w3m/archive/refs/tags/v$VERSION.tar.gz"
TAGS="web-browser"

DEPENDS="gc libcrypto libssl ncurses imlib2"
BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev imlib2-dev gcc83"

current_version()
{
    wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure \
        CC=gcc-83 \
        CXX=g++-83 \
        --enable-image=x11,fb \
        --with-imagelib=imlib2 \
        $CONFIGURE_ARGS &&
        make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)