SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "edbrowse"

# SliTaz package receipt.

PACKAGE="edbrowse"
VERSION="3.8.10"
CATEGORY="network"
TAGS="javascript web-browser"
SHORT_DESC="Line-oriented editor, web browser, and mail client"
MAINTAINER="maintainer@slitaz.org"
LICENSE="GPL-2.0-or-later"
WEB_SITE="https://edbrowse.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://github.com/CMB/$PACKAGE/archive/v$VERSION/$PACKAGE-$VERSION.tar.gz"

DEPENDS="libatomic libcrypto libcurl libssl libunixODBC pcre2 readline"
BUILD_DEPENDS="curl-dev openssl-dev pcre2-dev perl quickjs-dev readline-dev
    unixODBC-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/CMB/edbrowse/tags 2>/dev/null |
    sed     '/releases/!d;/<h2/!d;s|.*/tag/[^0-9]*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    patch    --strip=0 --input=$stuff/patches/src_makefile-3.8.10 &&

    make                        \
        QUICKJS_INCLUDE="/usr/include/quickjs"    \
        QUICKJS_LIB="/usr/lib/quickjs"        \
        PREFIX=/usr &&
    cd    src &&
    make    install    \
        PREFIX=/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p        $fs/usr/share/licenses

    cook_copy_folders    bin
    cp    $src/COPYING    $fs/usr/share/licenses/LICENCE.$PACKAGE
}
6011 packages and 861676 files in cooking database (Sun Jun 8 00:51:35 2025)