wok-next rev 1012
Add: tk8.4, tk5.4-dev, tcl8.4, tcl8.4-dev (tcl & tcl-dev must be removed).
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Jul 08 01:18:51 2008 +0200 (2008-07-08) |
parents | 564e60fb4085 |
children | 427202fe95d3 |
files | tcl8.4-dev/receipt tcl8.4/receipt tk8.4-dev/receipt tk8.4/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tcl8.4-dev/receipt Tue Jul 08 01:18:51 2008 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tcl8.4-dev" 1.7 +VERSION="8.4.18" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Tool Command Language dev files" 1.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 1.11 +DEPENDS="tcl8.4" 1.12 +WANTED="tcl8.4" 1.13 +SOURCE="tcl" 1.14 +TARBALL="${PACKAGE}${VERSION}-src.tar.gz" 1.15 +WEB_SITE="http://tcl.sourceforge.net/" 1.16 + 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + 1.22 + src=$WOK/$WANTED/${SOURCE}${VERSION} 1.23 + _pkg=$src/unix/_pkg 1.24 + 1.25 + mkdir -p $fs/usr/lib 1.26 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 1.27 + cp -a $_pkg/usr/lib/tclConfig.sh $fs/usr/lib 1.28 + cp -a $_pkg/usr/include $fs/usr 1.29 + cp -a $src/generic/tcl*.h $fs/usr/include 1.30 +} 1.31 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/tcl8.4/receipt Tue Jul 08 01:18:51 2008 +0200 2.3 @@ -0,0 +1,44 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="tcl8.4" 2.7 +VERSION="8.4.18" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="The Tool Command Language" 2.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 2.11 +DEPENDS="" 2.12 +SOURCE="tcl" 2.13 +TARBALL="${SOURCE}${VERSION}-src.tar.gz" 2.14 +WEB_SITE="http://tcl.sourceforge.net/" 2.15 +WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + # Redefine source path src 2.21 + src=${SOURCE}${VERSION}/unix 2.22 + 2.23 + cd $src 2.24 + ./configure --prefix=/usr \ 2.25 + --infodir=/usr/share/info \ 2.26 + --enable-shared \ 2.27 + --disable-symbols \ 2.28 + --mandir=/usr/share/man $CONFIGURE_ARGS 2.29 + make 2.30 + make DESTDIR=$PWD/_pkg install 2.31 +} 2.32 + 2.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.34 +genpkg_rules() 2.35 +{ 2.36 + 2.37 + _pkg=${SOURCE}${VERSION}/unix/_pkg 2.38 + mkdir -p $fs/usr/lib 2.39 + cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib 2.40 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.41 + cp -a $_pkg/usr/bin $fs/usr 2.42 + strip -s $fs/usr/bin/* 2.43 +} 2.44 + 2.45 +clean_wok(){ 2.46 + rm -rf ${SOURCE}${VERSION} 2.47 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/tk8.4-dev/receipt Tue Jul 08 01:18:51 2008 +0200 3.3 @@ -0,0 +1,29 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="tk8.4-dev" 3.7 +VERSION="8.4.18" 3.8 +CATEGORY="developement" 3.9 +SHORT_DESC="The TCL gui toolkit" 3.10 +MAINTAINER="erjo@slitaz.org" 3.11 +DEPENDS="tcl8.4" 3.12 +SOURCE="tk" 3.13 +TARBALL="${SOURCE}${VERSION}-src.tar.gz" 3.14 +WEB_SITE="http://tcl.sourceforge.net/" 3.15 +WANTED="tk8.4" 3.16 + 3.17 + 3.18 + 3.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.20 +genpkg_rules() 3.21 +{ 3.22 + _pkg=$WOK/$WANTED/${SOURCE}${VERSION}/unix/_pkg 3.23 + 3.24 + mkdir -p $fs/usr/lib 3.25 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 3.26 + cp -a $_pkg/usr/lib/tkConfig.sh $fs/usr/lib 3.27 + cp -a $_pkg/usr/include $fs/usr/ 3.28 +} 3.29 + 3.30 +clean_wok(){ 3.31 + rm -rf ${SOURCE}${VERSION} 3.32 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/tk8.4/receipt Tue Jul 08 01:18:51 2008 +0200 4.3 @@ -0,0 +1,42 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="tk8.4" 4.7 +VERSION="8.4.18" 4.8 +CATEGORY="developement" 4.9 +SHORT_DESC="The TCL gui toolkit" 4.10 +MAINTAINER="erjo@slitaz.org" 4.11 +DEPENDS="tcl8.4" 4.12 +BUILD_DEPENDS="tcl8.4-dev" 4.13 +SOURCE="tk" 4.14 +TARBALL="${SOURCE}${VERSION}-src.tar.gz" 4.15 +WEB_SITE="http://tcl.sourceforge.net/" 4.16 +WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL" 4.17 + 4.18 +# Rules to configure and make the package. 4.19 +compile_rules() 4.20 +{ 4.21 + # Redefine TK source path 4.22 + src=${SOURCE}${VERSION}/unix 4.23 + 4.24 + cd $src 4.25 + ./configure --prefix=/usr \ 4.26 + --enable-threads \ 4.27 + --enable-shared $CONFIGURE_ARGS 4.28 + make 4.29 + make DESTDIR=$PWD/_pkg install 4.30 +} 4.31 + 4.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.33 +genpkg_rules() 4.34 +{ 4.35 + _pkg=${SOURCE}${VERSION}/unix/_pkg 4.36 + 4.37 + mkdir -p $fs/usr/lib 4.38 + cp -a $_pkg/usr/bin $fs/usr 4.39 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 4.40 + cp -a $_pkg/usr/lib/tk8.4 $fs/usr/lib 4.41 + 4.42 + cd $fs/usr/bin 4.43 + ln -s wish8.4 wish 4.44 +} 4.45 +