SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sc-im"

# SliTaz package receipt.

PACKAGE="sc-im"
VERSION="0.8.5"
CATEGORY="office"
SHORT_DESC="Spreadsheet Calculator Improved."
LICENSE="BSD"
MAINTAINER="paul@slitaz.org"
WEB_SITE="https://github.com/andmarti1424/sc-im"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"

DEPENDS="ncursesw"
BUILD_DEPENDS="bison ncursesw-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    export    CFLAGS="$CFLAGS -std=c99"
    cd    $src/src
    # Do not override name = scim in Makefile,
    # in order to avoid conflicts with the package scim
    make    prefix=/usr &&
    make    install prefix=/usr
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    # Program name changed to sc-im
    cook_copy_files    sc-im
    cook_copy_files sc-im_help
}
6011 packages and 861680 files in cooking database (Sun Jul 27 00:47:25 2025)