wok-next diff tk/receipt @ rev 21196

updated scrollz again (2.2.3 -> 2.3)
author Hans-G?nter Theisgen
date Thu Oct 03 16:09:40 2019 +0100 (2019-10-03)
parents 13924624fb11
children
line diff
     1.1 --- a/tk/receipt	Thu Dec 20 21:44:54 2018 +0200
     1.2 +++ b/tk/receipt	Thu Oct 03 16:09:40 2019 +0100
     1.3 @@ -1,19 +1,33 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="tk"
     1.7 -VERSION="8.6.8"
     1.8 +VERSION="8.6.9.1"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="The TCL GUI toolkit"
    1.11 +SHORT_DESC="GUI toolkit for Tcl"
    1.12  MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="BSD"
    1.14 -WEB_SITE="http://tcl.sourceforge.net/"
    1.15 +WEB_SITE="https://www.tcl.tk/"
    1.16  LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/tk.html"
    1.17  
    1.18  TARBALL="$PACKAGE$VERSION-src.tar.gz"
    1.19  WGET_URL="$SF_MIRROR/tcl/$TARBALL"
    1.20 +TARBALL_SHA1="473019c00461fb55724d1923ed6330d01d9483b8"
    1.21  
    1.22 -BUILD_DEPENDS="tcl-dev libx11-dev"
    1.23 -SPLIT="$PACKAGE-demos $PACKAGE $PACKAGE-dev"
    1.24 +BUILD_DEPENDS="tcl-dev libx11-dev libxt-dev libxft-dev libxscrnsaver-dev \
    1.25 +libxext-dev"
    1.26 +SPLIT="$PACKAGE-dev $PACKAGE-demos $PACKAGE"
    1.27 +
    1.28 +COPY_dev="@dev *Config.sh"
    1.29 +COPY_demos="demos/"
    1.30 +
    1.31 +CAT_demos="development|demo applications"
    1.32 +
    1.33 +DEPENDS_demos=" "
    1.34 +DEPENDS_std="fontconfig libx11 libxscrnsaver libxft tcl"
    1.35 +DEPENDS_dev="$PACKAGE fontconfig-dev libx11-dev libxext-dev libxft-dev \
    1.36 +libxscrnsaver-dev tcl-dev"
    1.37 +
    1.38 +TAGS_std="programming language"
    1.39  
    1.40  compile_rules() {
    1.41  	case $ARCH in
    1.42 @@ -34,24 +48,5 @@
    1.43  	ln -v -sf wish${VERSION:0:3} $install/usr/bin/wish
    1.44  	chmod -v 755 $install/usr/lib/libtk${VERSION:0:3}.so
    1.45  	find $install -name '*.sh' -exec chmod -v 755 '{}' \;
    1.46 +	find $install/usr/share/man -type f -exec chmod u+w '{}' \; # 444->644
    1.47  }
    1.48 -
    1.49 -genpkg_rules() {
    1.50 -	case $PACKAGE in
    1.51 -		tk-demos)
    1.52 -			copy demos/
    1.53 -			CAT="development|demo applications"
    1.54 -			DEPENDS=" "
    1.55 -			;;
    1.56 -		tk)
    1.57 -			copy @std @rm
    1.58 -			find $fs -name '*Config.sh' -delete
    1.59 -			DEPENDS="tcl libx11"
    1.60 -			TAGS="programming language"
    1.61 -			;;
    1.62 -		*-dev)
    1.63 -			copy @dev *Config.sh
    1.64 -			DEPENDS="tk libx11-dev"
    1.65 -			;;
    1.66 -	esac
    1.67 -}