wok diff tcl/receipt @ rev 507

ADD: lshw, tcl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Apr 01 00:01:11 2008 +0200 (2008-04-01)
parents
children 8ea0c0cc99a0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tcl/receipt	Tue Apr 01 00:01:11 2008 +0200
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tcl"
     1.7 +VERSION="8.4.18"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="The Tool Command Language"
    1.10 +MAINTAINER="Erjo <erjo@slitaz.org>"
    1.11 +DEPENDS=""
    1.12 +TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
    1.13 +WEB_SITE="http://tcl.sourceforge.net/"
    1.14 +WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	# Redefine  source path src
    1.20 +	src=${PACKAGE}${VERSION}/unix
    1.21 +
    1.22 +	cd $src
    1.23 +	./configure --prefix=/usr \
    1.24 +	 --infodir=/usr/share/info \
    1.25 +	 --enable-shared \
    1.26 +	 --disable-symbols \
    1.27 +	 --mandir=/usr/share/man $CONFIGURE_ARGS
    1.28 +	make
    1.29 +	make DESTDIR=$PWD/_pkg install
    1.30 +}
    1.31 +
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	
    1.36 +	_pkg=${PACKAGE}${VERSION}/unix/_pkg
    1.37 +	mkdir -p $fs/usr/lib
    1.38 +	cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
    1.39 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.40 +	cp -a $_pkg/usr/bin $fs/usr
    1.41 +	strip -s $fs/usr/bin/*
    1.42 +}
    1.43 +
    1.44 +clean_wok(){
    1.45 +	rm -rf ${PACKAGE}${VERSION}
    1.46 +}