SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sc"

# SliTaz package receipt.

PACKAGE="sc"
VERSION="7.16"
CATEGORY="office"
SHORT_DESC="Spreadsheet calculator."
MAINTAINER="paul@slitaz.org"
LICENSE="PublicDomain"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/"
WGET_URL="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/$TARBALL"

DEPENDS="ncurses"
BUILD_DEPENDS="ncurses-dev bison m4"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    export LDFLAGS="$LDFLAGS -ltinfo"
    patch -p1 < $stuff/7.16.patch || return 1
    make
}

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

    for i in sc psc scqref; do
    cp -a $src/$i $fs/usr/bin
    done
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)