wok view tcl2c/receipt @ rev 21572

tmate: inserted some environment variables in recipe
author Hans-G?nter Theisgen
date Sat May 18 17:29:21 2019 +0100 (2019-05-18)
parents
children 5f6c5106b1f5
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="http://tcl2c.sourceforge.net/"
11 TARBALL="$PACKAGE.$VERSION.zip"
12 WGET_URL="$SF_MIRROR/tcl2c/$TARBALL"
14 DEPENDS="tcl"
15 BUILD_DEPENDS="tcl-dev"
17 compile_rules() {
18 cd generic
19 sed -i 's|libtcl8\.5\.so|-ltcl8.6|' makefile
20 patch -p1 < $stuff/tcl2c.u
22 make linux &&
23 install -Dm755 tcl2c $install/usr/bin/tcl2c
24 }
26 genpkg_rules() {
27 cp -a $install/usr $fs
28 }