SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sc-im"

# SliTaz package receipt.

PACKAGE="sc-im"
VERSION="0.8.2"
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="git|git://github.com/andmarti1424/sc-im"
# Do not use git, because that might fetch an unreleased version
# as happened with 0.8.3 in place of 0.8.2
WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"

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

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;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 -j1 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 sc-im_help
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)