# HG changeset patch # User Eric Joseph-Alexandre # Date 1207000871 -7200 # Node ID aa87a24d1e82a4faff2300ffc6e394e2fe87daee # Parent 7f41c348fb5db7c3867933b9af1460188ed9306c ADD: lshw, tcl diff -r 7f41c348fb5d -r aa87a24d1e82 tcl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tcl/receipt Tue Apr 01 00:01:11 2008 +0200 @@ -0,0 +1,43 @@ +# SliTaz package receipt. + +PACKAGE="tcl" +VERSION="8.4.18" +CATEGORY="development" +SHORT_DESC="The Tool Command Language" +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="${PACKAGE}${VERSION}-src.tar.gz" +WEB_SITE="http://tcl.sourceforge.net/" +WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + # Redefine source path src + src=${PACKAGE}${VERSION}/unix + + cd $src + ./configure --prefix=/usr \ + --infodir=/usr/share/info \ + --enable-shared \ + --disable-symbols \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + + _pkg=${PACKAGE}${VERSION}/unix/_pkg + 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 + strip -s $fs/usr/bin/* +} + +clean_wok(){ + rm -rf ${PACKAGE}${VERSION} +}