# SliTaz package receipt. PACKAGE="tcl" VERSION="8.5.10" CATEGORY="development" SHORT_DESC="The Tool Command Language" MAINTAINER="erjo@slitaz.org" TARBALL="${PACKAGE}${VERSION}-src.tar.gz" WEB_SITE="http://tcl.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" TAGS="language programming" # Rules to configure and make the package. compile_rules() { cd $src/unix ./configure \ --enable-shared \ --disable-symbols \ --mandir=/usr/share/man $CONFIGURE_ARGS && \ make && \ make install install-private-headers } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/bin $fs/usr ln -sf tclsh8.5 $fs/usr/bin/tclsh }