SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tcllib"

# SliTaz package receipt.

PACKAGE="tcllib"
VERSION="1.21"
CATEGORY="development"
SHORT_DESC="Tcl-only library of standard routines for Tcl."
MAINTAINER="paul@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://sourceforge.net/projects/tcllib/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="tcl"
BUILD_DEPENDS="tcl"

HOST_ARCH="i486 arm"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/tcllib/files/tcllib/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/tcllib/||;s|/.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        --prefix=/usr    \
        $CONFIGURE_ARGS &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_folders    lib
}
6025 packages and 203653 files in current database (Fri May 31 00:00:08 2024)