wok diff tk8.4/receipt @ rev 1228

All squirrelmail-smallcal
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 10 11:50:32 2008 +0000 (2008-08-10)
parents
children 03a799424aaa
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tk8.4/receipt	Sun Aug 10 11:50:32 2008 +0000
     1.3 @@ -0,0 +1,42 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="tk8.4"
     1.7 +VERSION="8.4.18"
     1.8 +CATEGORY="developement"
     1.9 +SHORT_DESC="The TCL gui toolkit"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="tcl8.4"
    1.12 +BUILD_DEPENDS="tcl8.4-dev"
    1.13 +SOURCE="tk"
    1.14 +TARBALL="${SOURCE}${VERSION}-src.tar.gz"
    1.15 +WEB_SITE="http://tcl.sourceforge.net/"
    1.16 +WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	# Redefine TK source path
    1.22 +	src=${SOURCE}${VERSION}/unix
    1.23 +
    1.24 +	cd $src
    1.25 +	./configure --prefix=/usr \
    1.26 +	 --enable-threads \
    1.27 +	 --enable-shared  $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 +	_pkg=${SOURCE}${VERSION}/unix/_pkg
    1.36 +	
    1.37 +	mkdir -p $fs/usr/lib
    1.38 +	cp -a $_pkg/usr/bin $fs/usr
    1.39 +	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.40 +	cp -a $_pkg/usr/lib/tk8.4 $fs/usr/lib
    1.41 +	
    1.42 +	cd $fs/usr/bin
    1.43 +	ln -s wish8.4 wish
    1.44 +}
    1.45 +