wok rev 1871
Add: tcl-dev, tk, tk-dev.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Dec 16 22:56:19 2008 +0100 (2008-12-16) |
parents | c9b31ceaa516 |
children | eccd1c19bd05 |
files | tcl-dev/receipt tk-dev/receipt tk/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tcl-dev/receipt Tue Dec 16 22:56:19 2008 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tcl-dev" 1.7 +VERSION="8.5.5" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Tool Command Language dev files" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="tcl" 1.12 +WANTED="tcl" 1.13 +TARBALL="${PACKAGE}${VERSION}-src.tar.gz" 1.14 +WEB_SITE="http://tcl.sourceforge.net/" 1.15 + 1.16 + 1.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 +genpkg_rules() 1.19 +{ 1.20 + 1.21 + src=$WOK/$WANTED/${WANTED}${VERSION} 1.22 + _pkg=$src/unix/_pkg 1.23 + 1.24 + mkdir -p $fs/usr/lib 1.25 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.26 + cp -a $_pkg/usr/lib/tclConfig.sh $fs/usr/lib 1.27 + cp -a $_pkg/usr/include $fs/usr 1.28 + cp -a $src/generic/tcl*.h $fs/usr/include 1.29 +} 1.30 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/tk-dev/receipt Tue Dec 16 22:56:19 2008 +0100 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="tk-dev" 2.7 +VERSION="8.5.5" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="The TCL gui toolkit dev files" 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +DEPENDS="tcl" 2.12 +SOURCE="tk" 2.13 +TARBALL="${SOURCE}${VERSION}-src.tar.gz" 2.14 +WEB_SITE="http://tcl.sourceforge.net/" 2.15 +WANTED="tk" 2.16 + 2.17 + 2.18 + 2.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.20 +genpkg_rules() 2.21 +{ 2.22 + _pkg=$WOK/$WANTED/${SOURCE}${VERSION}/unix/_pkg 2.23 + 2.24 + mkdir -p $fs/usr/lib 2.25 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 2.26 + cp -a $_pkg/usr/lib/tkConfig.sh $fs/usr/lib 2.27 + cp -a $_pkg/usr/include $fs/usr/ 2.28 +} 2.29 + 2.30 +clean_wok(){ 2.31 + test -d tk* && rm -rf tk* 2.32 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/tk/receipt Tue Dec 16 22:56:19 2008 +0100 3.3 @@ -0,0 +1,46 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="tk" 3.7 +VERSION="8.5.5" 3.8 +CATEGORY="development" 3.9 +SHORT_DESC="The TCL gui toolkit" 3.10 +MAINTAINER="erjo@slitaz.org" 3.11 +DEPENDS="tcl" 3.12 +BUILD_DEPENDS="tcl-dev xorg-libX11-dev" 3.13 +SOURCE="tk" 3.14 +TARBALL="${SOURCE}${VERSION}-src.tar.gz" 3.15 +WEB_SITE="http://tcl.sourceforge.net/" 3.16 +WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL" 3.17 + 3.18 +# Rules to configure and make the package. 3.19 +compile_rules() 3.20 +{ 3.21 + # Redefine TK source path 3.22 + src=${SOURCE}${VERSION}/unix 3.23 + 3.24 + cd $src 3.25 + ./configure --prefix=/usr \ 3.26 + --enable-threads \ 3.27 + --enable-shared $CONFIGURE_ARGS && 3.28 + make && 3.29 + make DESTDIR=$PWD/_pkg install 3.30 +} 3.31 + 3.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.33 +genpkg_rules() 3.34 +{ 3.35 + _pkg=${SOURCE}${VERSION}/unix/_pkg 3.36 + 3.37 + mkdir -p $fs/usr/lib 3.38 + cp -a $_pkg/usr/bin $fs/usr 3.39 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 3.40 + cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib 3.41 + 3.42 + cd $fs/usr/bin 3.43 + ln -s wish${VERSION%%.[0-9]} wish 3.44 +} 3.45 + 3.46 +clean_wok() 3.47 +{ 3.48 + test -d tk* && rm -rf tk* 3.49 +}