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

linux-kvm: update modules list
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 12:46:12 2011 +0100 (2011-03-04)
parents 43ec05a2b26b
children e8768e5178a6
rev   line source
erjo@507 1 # SliTaz package receipt.
erjo@507 2
erjo@507 3 PACKAGE="tcl"
slaxemulator@6422 4 VERSION="8.5.9"
erjo@507 5 CATEGORY="development"
erjo@507 6 SHORT_DESC="The Tool Command Language"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
erjo@507 8 DEPENDS=""
erjo@1870 9 SOURCE="tcl"
erjo@1870 10 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
erjo@507 11 WEB_SITE="http://tcl.sourceforge.net/"
erjo@507 12 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
jozee@4973 13 TAGS="language programming"
erjo@507 14
erjo@507 15 # Rules to configure and make the package.
erjo@507 16 compile_rules()
erjo@507 17 {
slaxemulator@8727 18 cd $src/unix
slaxemulator@8727 19 ./configure \
erjo@507 20 --enable-shared \
erjo@507 21 --disable-symbols \
slaxemulator@8727 22 --mandir=/usr/share/man && \
erjo@1870 23 make && \
gokhlayeh@8759 24 make install install-private-headers
erjo@507 25 }
erjo@507 26
erjo@507 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@507 28 genpkg_rules()
erjo@507 29 {
erjo@507 30 mkdir -p $fs/usr/lib
erjo@507 31 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
erjo@507 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@507 33 cp -a $_pkg/usr/bin $fs/usr
erjo@1870 34 strip -s $fs/usr/bin/*
slaxemulator@5352 35 ln -sf tclsh8.5 $fs/usr/bin/tclsh
erjo@507 36 }