wok-next annotate tcl/receipt @ rev 15806

Up: sudoku to 2.3. Fixed WEB_SITE and WGET_URL so we get the app and not a error page.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Jan 24 01:35:01 2014 +0000 (2014-01-24)
parents b0a5892d86f3
children 61bec0518c8c
rev   line source
erjo@507 1 # SliTaz package receipt.
erjo@507 2
erjo@507 3 PACKAGE="tcl"
slaxemulator@10997 4 VERSION="8.5.10"
erjo@507 5 CATEGORY="development"
erjo@507 6 SHORT_DESC="The Tool Command Language"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15600 8 LICENSE="BSD"
slaxemulator@9365 9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
erjo@507 10 WEB_SITE="http://tcl.sourceforge.net/"
slaxemulator@10997 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4973 12 TAGS="language programming"
erjo@507 13
erjo@507 14 # Rules to configure and make the package.
erjo@507 15 compile_rules()
erjo@507 16 {
slaxemulator@8727 17 cd $src/unix
slaxemulator@8727 18 ./configure \
erjo@507 19 --enable-shared \
erjo@507 20 --disable-symbols \
slaxemulator@10068 21 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@1870 22 make && \
gokhlayeh@8759 23 make install install-private-headers
erjo@507 24 }
erjo@507 25
erjo@507 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@507 27 genpkg_rules()
erjo@507 28 {
erjo@507 29 mkdir -p $fs/usr/lib
pascal@15600 30 cp -a $install/usr/lib/tcl8* $fs/usr/lib
pascal@15600 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15600 32 cp -a $install/usr/bin $fs/usr
slaxemulator@5352 33 ln -sf tclsh8.5 $fs/usr/bin/tclsh
erjo@507 34 }