wok-current diff vkeybd/receipt @ rev 19635

Up SliTaz projects: cookutils(867), slitaz-base-files(321), slitaz-boot-scripts(437), slitaz-tools(1009), tazbug(95), tazirc(20), tazlito(448), tazpkg(933).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 17 17:38:43 2017 +0200 (2017-01-17)
parents b0c60d808e5c
children 9cae76300191
line diff
     1.1 --- a/vkeybd/receipt	Mon Sep 16 12:32:27 2013 +0000
     1.2 +++ b/vkeybd/receipt	Tue Jan 17 17:38:43 2017 +0200
     1.3 @@ -18,8 +18,9 @@
     1.4  {
     1.5  	cd $src
     1.6  	# Hack makefile
     1.7 -	sed -i 's|PREFIX = /usr/local|PREFIX = /usr|; \
     1.8 -	s|TCL_VERSION = 8.4|TCL_VERSION = 8.5|' Makefile
     1.9 +	TCL_VERSION=$(sed '/TCL_VERSION/!d;s/.*"\(.*\)"/\1/' /usr/include/tcl.h)
    1.10 +	sed -i "s|PREFIX = /usr/local|PREFIX = /usr|; \
    1.11 +	s|TCL_VERSION = 8.4|TCL_VERSION = $TCL_VERSION|" Makefile
    1.12  	make &&
    1.13  	make DESTDIR=$DESTDIR install
    1.14  }