wok-current view tcl2c/receipt @ rev 25672
patch tazpkg, upgrade core pkgs first
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Mar 03 17:58:42 2024 +0000 (5 months ago) |
parents | 5f6c5106b1f5 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tcl2c"
4 VERSION="2016.4"
5 CATEGORY="development"
6 SHORT_DESC="Create a C file from Tcl file for C compiler"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://tcl2c.sourceforge.net/"
11 TARBALL="$PACKAGE.$VERSION.zip"
12 WGET_URL="$SF_MIRROR/tcl2c/$TARBALL"
14 DEPENDS="tcl"
15 BUILD_DEPENDS="tcl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/tcl2c/files/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/tcl2c\.||;s|.zip.*||;q'
22 }
24 compile_rules() {
25 cd generic
26 sed -i 's|libtcl8\.5\.so|-ltcl8.6|' makefile
27 patch -p1 < $stuff/tcl2c.u
29 make linux &&
30 install -Dm755 tcl2c $install/usr/bin/tcl2c
31 }
33 genpkg_rules() {
34 cp -a $install/usr $fs
35 }