SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tcl2c"

# SliTaz package receipt v2.

PACKAGE="tcl2c"
VERSION="2016.4"
CATEGORY="development"
SHORT_DESC="Create a C file from Tcl file for C compiler"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="GPL2"
WEB_SITE="https://tcl2c.sourceforge.net/"

TARBALL="$PACKAGE.$VERSION.zip"
WGET_URL="$SF_MIRROR/tcl2c/$TARBALL"

DEPENDS="tcl"
BUILD_DEPENDS="tcl-dev"

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

compile_rules() {
    cd generic
    sed -i 's|libtcl8\.5\.so|-ltcl8.6|' makefile
    patch -p1 < $stuff/tcl2c.u

    make linux &&
    install -Dm755 tcl2c $install/usr/bin/tcl2c
}

genpkg_rules() {
    cp -a $install/usr $fs
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)