wok-stable diff tcl/receipt @ rev 3578

busybox/dpkg_deb: add lzma support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 26 15:30:21 2009 +0200 (2009-06-26)
parents a075ff895254
children 866fa2493b1b
line diff
     1.1 --- a/tcl/receipt	Tue May 13 09:50:02 2008 +0200
     1.2 +++ b/tcl/receipt	Fri Jun 26 15:30:21 2009 +0200
     1.3 @@ -1,12 +1,13 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="tcl"
     1.7 -VERSION="8.4.18"
     1.8 +VERSION="8.5.5"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The Tool Command Language"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  DEPENDS=""
    1.13 -TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
    1.14 +SOURCE="tcl"
    1.15 +TARBALL="${SOURCE}${VERSION}-src.tar.gz"
    1.16  WEB_SITE="http://tcl.sourceforge.net/"
    1.17  WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
    1.18  
    1.19 @@ -14,15 +15,15 @@
    1.20  compile_rules()
    1.21  {
    1.22  	# Redefine  source path src
    1.23 -	src=${PACKAGE}${VERSION}/unix
    1.24 +	src=${SOURCE}${VERSION}/unix
    1.25  
    1.26  	cd $src
    1.27  	./configure --prefix=/usr \
    1.28  	 --infodir=/usr/share/info \
    1.29  	 --enable-shared \
    1.30  	 --disable-symbols \
    1.31 -	 --mandir=/usr/share/man $CONFIGURE_ARGS
    1.32 -	make
    1.33 +	 --mandir=/usr/share/man $CONFIGURE_ARGS && \
    1.34 +	make && \
    1.35  	make DESTDIR=$PWD/_pkg install
    1.36  }
    1.37  
    1.38 @@ -30,16 +31,14 @@
    1.39  genpkg_rules()
    1.40  {
    1.41  	
    1.42 -	_pkg=${PACKAGE}${VERSION}/unix/_pkg
    1.43 +	_pkg=${SOURCE}${VERSION}/unix/_pkg
    1.44  	mkdir -p $fs/usr/lib
    1.45  	cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
    1.46  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.47  	cp -a $_pkg/usr/bin $fs/usr
    1.48 -	# Devel files (to lazy to build a -dev pkg)
    1.49 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.50 -	cp -a $_pkg/usr/include $fs/usr
    1.51 +	strip -s $fs/usr/bin/*
    1.52  }
    1.53  
    1.54  clean_wok(){
    1.55 -	rm -rf ${PACKAGE}${VERSION}
    1.56 +	test -d ${SOURCE}${VERSION} && rm -rf ${SOURCE}${VERSION}
    1.57  }