wok-stable annotate tcl/receipt @ rev 9865

nagios: fix build
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon May 16 21:08:43 2011 +0200 (2011-05-16)
parents e8768e5178a6
children 5f9ad8ee2c9a
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=""
slaxemulator@9365 9 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
erjo@507 10 WEB_SITE="http://tcl.sourceforge.net/"
erjo@507 11 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$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@8727 21 --mandir=/usr/share/man && \
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
erjo@507 30 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
erjo@507 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
erjo@507 32 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@5352 33 ln -sf tclsh8.5 $fs/usr/bin/tclsh
erjo@507 34 }