wok-6.x annotate tcl2c/receipt @ rev 24077

Up unison (2.51.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 08 15:28:38 2021 +0000 (2021-07-08)
parents
children 5f6c5106b1f5
rev   line source
pascal@20387 1 # SliTaz package receipt v2.
pascal@20387 2
pascal@20387 3 PACKAGE="tcl2c"
pascal@20387 4 VERSION="2016.4"
pascal@20387 5 CATEGORY="development"
pascal@20387 6 SHORT_DESC="Create a C file from Tcl file for C compiler"
pascal@20387 7 MAINTAINER="al.bobylev@gmail.com"
pascal@20387 8 LICENSE="GPL2"
pascal@20387 9 WEB_SITE="http://tcl2c.sourceforge.net/"
pascal@20387 10
pascal@20387 11 TARBALL="$PACKAGE.$VERSION.zip"
pascal@20387 12 WGET_URL="$SF_MIRROR/tcl2c/$TARBALL"
pascal@20387 13
pascal@20387 14 DEPENDS="tcl"
pascal@20387 15 BUILD_DEPENDS="tcl-dev"
pascal@20387 16
pascal@20387 17 compile_rules() {
pascal@20387 18 cd generic
pascal@20387 19 sed -i 's|libtcl8\.5\.so|-ltcl8.6|' makefile
pascal@20387 20 patch -p1 < $stuff/tcl2c.u
pascal@20387 21
pascal@20387 22 make linux &&
pascal@20387 23 install -Dm755 tcl2c $install/usr/bin/tcl2c
pascal@20387 24 }
pascal@20387 25
pascal@20387 26 genpkg_rules() {
pascal@20387 27 cp -a $install/usr $fs
pascal@20387 28 }