wok-6.x annotate tcl/receipt @ rev 11184

Up: gstreamer to 0.10.35.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 03 01:00:45 2011 +0000 (2011-11-03)
parents 5f9ad8ee2c9a
children de49f29b101e
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"
slaxemulator@9365 8 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
erjo@507 9 WEB_SITE="http://tcl.sourceforge.net/"
slaxemulator@10997 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4973 11 TAGS="language programming"
erjo@507 12
erjo@507 13 # Rules to configure and make the package.
erjo@507 14 compile_rules()
erjo@507 15 {
slaxemulator@8727 16 cd $src/unix
slaxemulator@8727 17 ./configure \
erjo@507 18 --enable-shared \
erjo@507 19 --disable-symbols \
slaxemulator@10068 20 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@1870 21 make && \
gokhlayeh@8759 22 make install install-private-headers
erjo@507 23 }
erjo@507 24
erjo@507 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@507 26 genpkg_rules()
erjo@507 27 {
erjo@507 28 mkdir -p $fs/usr/lib
erjo@507 29 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
erjo@507 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@507 31 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@5352 32 ln -sf tclsh8.5 $fs/usr/bin/tclsh
erjo@507 33 }