wok-6.x diff tcl2c/receipt @ rev 20544

linld: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 01 12:11:23 2018 +0100 (2018-12-01)
parents
children 5f6c5106b1f5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tcl2c/receipt	Sat Dec 01 12:11:23 2018 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="tcl2c"
     1.7 +VERSION="2016.4"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Create a C file from Tcl file for C compiler"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="http://tcl2c.sourceforge.net/"
    1.13 +
    1.14 +TARBALL="$PACKAGE.$VERSION.zip"
    1.15 +WGET_URL="$SF_MIRROR/tcl2c/$TARBALL"
    1.16 +
    1.17 +DEPENDS="tcl"
    1.18 +BUILD_DEPENDS="tcl-dev"
    1.19 +
    1.20 +compile_rules() {
    1.21 +	cd generic
    1.22 +	sed -i 's|libtcl8\.5\.so|-ltcl8.6|' makefile
    1.23 +	patch -p1 < $stuff/tcl2c.u
    1.24 +
    1.25 +	make linux &&
    1.26 +	install -Dm755 tcl2c $install/usr/bin/tcl2c
    1.27 +}
    1.28 +
    1.29 +genpkg_rules() {
    1.30 +	cp -a $install/usr $fs
    1.31 +}