wok-next rev 19638

Up tcl, tk, py3k, iso-codes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 13 02:23:31 2017 +0200 (2017-02-13)
parents 70e678f56117
children e450b96511f1
files iso-codes/receipt py3k-dev/receipt py3k/receipt tcl-dev/receipt tcl/receipt tk-dev/receipt tk/receipt
line diff
     1.1 --- a/iso-codes/receipt	Fri Feb 10 15:18:35 2017 +0200
     1.2 +++ b/iso-codes/receipt	Mon Feb 13 02:23:31 2017 +0200
     1.3 @@ -1,26 +1,23 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="iso-codes"
     1.7 -VERSION="3.45"
     1.8 +VERSION="3.74"
     1.9  CATEGORY="utilities"
    1.10  SHORT_DESC="ISO-639, ISO-4217, ISO-3166 and ISO-3166-2 code lists + translations."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="LGPL2.1"
    1.13 -WEB_SITE="http://pkg-isocodes.alioth.debian.org"
    1.14 +WEB_SITE="http://pkg-isocodes.alioth.debian.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17 -WGET_URL="http://pkg-isocodes.alioth.debian.org/downloads/$TARBALL"
    1.18 +WGET_URL="${WEB_SITE}downloads/$TARBALL"
    1.19  
    1.20  DEPENDS=""
    1.21 -BUILD_DEPENDS="gettext"
    1.22 +BUILD_DEPENDS="gettext py3k"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28 -	./configure --prefix=/usr \
    1.29 -		--mandir=/usr/share/man \
    1.30 -		--infodir=/usr/share/info \
    1.31 -		$CONFIGURE_ARGS &&
    1.32 +	./configure $CONFIGURE_ARGS &&
    1.33  	make && make DESTDIR=$DESTDIR install
    1.34  }
    1.35  
     2.1 --- a/py3k-dev/receipt	Fri Feb 10 15:18:35 2017 +0200
     2.2 +++ b/py3k-dev/receipt	Mon Feb 13 02:23:31 2017 +0200
     2.3 @@ -6,10 +6,9 @@
     2.4  SHORT_DESC="The Python programming language devel files."
     2.5  MAINTAINER="pankso@slitaz.org"
     2.6  LICENSE="GPL"
     2.7 +WEB_SITE="https://www.python.org/"
     2.8 +
     2.9  WANTED="py3k"
    2.10 -SOURCE="Python"
    2.11 -WEB_SITE="http://www.python.org/"
    2.12 -
    2.13  DEPENDS="py3k"
    2.14  
    2.15  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/py3k/receipt	Fri Feb 10 15:18:35 2017 +0200
     3.2 +++ b/py3k/receipt	Mon Feb 13 02:23:31 2017 +0200
     3.3 @@ -6,23 +6,25 @@
     3.4  SHORT_DESC="The Python 3000 programming language."
     3.5  MAINTAINER="pascal.bellard@slitaz.org"
     3.6  LICENSE="GPL"
     3.7 +WEB_SITE="https://www.python.org/download/releases/"
     3.8 +
     3.9  SOURCE="Python"
    3.10  TARBALL="$SOURCE-$VERSION.tar.xz"
    3.11 -WEB_SITE="https://www.python.org/download/releases/"
    3.12  WGET_URL="https://www.python.org/ftp/python/$VERSION/$TARBALL"
    3.13  
    3.14 -DEPENDS="openssl bzlib readline sqlite zlib xorg-libXss ncursesw gdbm \
    3.15 +DEPENDS="openssl bzlib readline sqlite zlib xorg-libXScrnSaver ncurses gdbm \
    3.16  tk xorg-libXext"
    3.17  BUILD_DEPENDS="readline-dev gdbm-dev openssl-dev sqlite-dev zlib-dev tk-dev \
    3.18 -ncursesw-dev liblzma-dev wget"
    3.19 +ncurses-dev liblzma-dev bzip2-dev"
    3.20  
    3.21  # Rules to configure and make the package.
    3.22  compile_rules()
    3.23  {
    3.24  	mkdir -p $DESTDIR/usr/lib/pkgconfig
    3.25 -	./configure --enable-shared \
    3.26 -	--prefix=/usr --infodir=/usr/share/info \
    3.27 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    3.28 +
    3.29 +	./configure \
    3.30 +		--enable-shared \
    3.31 +		$CONFIGURE_ARGS &&
    3.32  	make &&
    3.33  	make DESTDIR=$DESTDIR install
    3.34  }
     4.1 --- a/tcl-dev/receipt	Fri Feb 10 15:18:35 2017 +0200
     4.2 +++ b/tcl-dev/receipt	Mon Feb 13 02:23:31 2017 +0200
     4.3 @@ -1,15 +1,15 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="tcl-dev"
     4.7 -VERSION="8.6.3"
     4.8 +VERSION="8.6.6"
     4.9  CATEGORY="development"
    4.10  SHORT_DESC="The Tool Command Language dev files"
    4.11  MAINTAINER="erjo@slitaz.org"
    4.12  LICENSE="BSD"
    4.13 -WANTED="tcl"
    4.14  WEB_SITE="http://tcl.sourceforge.net/"
    4.15  HOST_ARCH="i486 arm"
    4.16  
    4.17 +WANTED="tcl"
    4.18  DEPENDS="tcl"
    4.19  
    4.20  # Rules to gen a SliTaz package suitable for Tazpkg.
     5.1 --- a/tcl/receipt	Fri Feb 10 15:18:35 2017 +0200
     5.2 +++ b/tcl/receipt	Mon Feb 13 02:23:31 2017 +0200
     5.3 @@ -1,26 +1,32 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="tcl"
     5.7 -VERSION="8.6.3"
     5.8 +VERSION="8.6.6"
     5.9  CATEGORY="development"
    5.10  SHORT_DESC="The Tool Command Language"
    5.11  MAINTAINER="erjo@slitaz.org"
    5.12  LICENSE="BSD"
    5.13 -TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
    5.14  WEB_SITE="http://tcl.sourceforge.net/"
    5.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    5.16  TAGS="language programming"
    5.17  HOST_ARCH="i486 arm"
    5.18  
    5.19 +TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
    5.20 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    5.21 +
    5.22 +BUILD_DEPENDS="zlib-dev"
    5.23 +
    5.24  # Rules to configure and make the package.
    5.25  compile_rules()
    5.26  {
    5.27  	case "$ARCH" in
    5.28 -		arm*) 
    5.29 +		arm*)
    5.30  			export tcl_cv_strtod_buggy=1
    5.31 -			export ac_cv_func_strtod=yes 
    5.32 -			sed -i s'#./${TCL_EXE}#/usr/bin/tclsh#' unix/Makefile.in ;;
    5.33 +			export ac_cv_func_strtod=yes
    5.34 +			sed -i s'#./${TCL_EXE}#/usr/bin/tclsh#' unix/Makefile.in
    5.35 +			;;
    5.36  	esac
    5.37 +	mkdir -p /usr/lib/tdbc1.0.4
    5.38 +
    5.39  	cd $src/unix
    5.40  	./configure \
    5.41  		 --enable-shared \
    5.42 @@ -28,7 +34,29 @@
    5.43  		 --mandir=/usr/share/man \
    5.44  		 $CONFIGURE_ARGS &&
    5.45  	make &&
    5.46 +
    5.47 +	sed -e "s#$SRCDIR/unix#/usr/lib#" \
    5.48 +	    -e "s#$SRCDIR#/usr/include#" \
    5.49 +	    -i tclConfig.sh &&
    5.50 +
    5.51 +	sed -e "s#$SRCDIR/unix/pkgs/tdbc1.0.4#/usr/lib/tdbc1.0.4#" \
    5.52 +	    -e "s#$SRCDIR/pkgs/tdbc1.0.4/generic#/usr/include#" \
    5.53 +	    -e "s#$SRCDIR/pkgs/tdbc1.0.4/library#/usr/lib/tcl8.6#" \
    5.54 +	    -e "s#$SRCDIR/pkgs/tdbc1.0.4#/usr/include#" \
    5.55 +	    -i pkgs/tdbc1.0.4/tdbcConfig.sh &&
    5.56 +
    5.57 +	sed -e "s#$SRCDIR/unix/pkgs/itcl4.0.5#/usr/lib/itcl4.0.5#" \
    5.58 +	    -e "s#$SRCDIR/pkgs/itcl4.0.5/generic#/usr/include#" \
    5.59 +	    -e "s#$SRCDIR/pkgs/itcl4.0.5#/usr/include#" \
    5.60 +	    -i pkgs/itcl4.0.5/itclConfig.sh &&
    5.61 +
    5.62 +	unset SRCDIR &&
    5.63 +
    5.64 +	make install &&
    5.65  	make install install-private-headers
    5.66 +
    5.67 +	ln -sf tclsh8.6 $install/usr/bin/tclsh &&
    5.68 +	chmod 755 $install/usr/lib/libtcl8.6.so
    5.69  }
    5.70  
    5.71  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.72 @@ -38,5 +66,4 @@
    5.73  	cp -a $install/usr/lib/tcl${VERSION:0:1}* $fs/usr/lib
    5.74  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    5.75  	cp -a $install/usr/bin $fs/usr
    5.76 -	ln -sf tclsh${VERSION:0:3} $fs/usr/bin/tclsh
    5.77  }
     6.1 --- a/tk-dev/receipt	Fri Feb 10 15:18:35 2017 +0200
     6.2 +++ b/tk-dev/receipt	Mon Feb 13 02:23:31 2017 +0200
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="tk-dev"
     6.7 -VERSION="8.6.3"
     6.8 +VERSION="8.6.6"
     6.9  CATEGORY="development"
    6.10  SHORT_DESC="The TCL gui toolkit dev files"
    6.11  MAINTAINER="erjo@slitaz.org"
     7.1 --- a/tk/receipt	Fri Feb 10 15:18:35 2017 +0200
     7.2 +++ b/tk/receipt	Mon Feb 13 02:23:31 2017 +0200
     7.3 @@ -1,7 +1,7 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="tk"
     7.7 -VERSION="8.6.3"
     7.8 +VERSION="8.6.6"
     7.9  CATEGORY="development"
    7.10  SHORT_DESC="The TCL gui toolkit"
    7.11  MAINTAINER="erjo@slitaz.org"
    7.12 @@ -14,7 +14,7 @@
    7.13  WGET_URL="$SF_MIRROR/tcl/$TARBALL"
    7.14  
    7.15  DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
    7.16 -xorg-libXft xorg-libXrender zlib xorg-libXss"
    7.17 +xorg-libXft xorg-libXrender zlib xorg-libXScrnSaver"
    7.18  BUILD_DEPENDS="tcl-dev xorg-libX11-dev"
    7.19  
    7.20  # Rules to configure and make the package.
    7.21 @@ -26,13 +26,18 @@
    7.22  			export tcl_cv_strtod_buggy=1
    7.23  			export ac_cv_func_strtod=yes ;;
    7.24  	esac
    7.25 +
    7.26  	cd $src/unix
    7.27  	./configure \
    7.28 -		--prefix=/usr \
    7.29  		--enable-threads \
    7.30  		--enable-shared \
    7.31  		$ARCH_ARGS ${CONFIGURE_ARGS} &&
    7.32  	make &&
    7.33 +
    7.34 +	sed -e "s@^\(TK_SRC_DIR='\).*@\1/usr/include'@" \
    7.35 +	    -e "/TK_B/s@='\(-L\)\?.*unix@='\1/usr/lib@" \
    7.36 +	    -i tkConfig.sh &&
    7.37 +
    7.38  	make DESTDIR=$DESTDIR install
    7.39  }
    7.40  
    7.41 @@ -43,7 +48,6 @@
    7.42  	cp -a $install/usr/bin $fs/usr
    7.43  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.44  	cp -a $install/usr/lib/tk${VERSION:0:3} $fs/usr/lib
    7.45 -	
    7.46 -	cd $fs/usr/bin
    7.47 -	ln -s wish${VERSION:0:3} wish
    7.48 +
    7.49 +	ln -s wish${VERSION:0:3} $fs/usr/bin/wish
    7.50  }