wok view tk8.4/receipt @ rev 1782
php-pear: restart web server
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 29 10:38:27 2008 +0000 (2008-11-29) |
parents | 03a799424aaa |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="tk8.4"
4 VERSION="8.4.18"
5 CATEGORY="development"
6 SHORT_DESC="The TCL gui toolkit"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="tcl8.4"
9 BUILD_DEPENDS="tcl8.4-dev xorg-libX11-dev"
10 SOURCE="tk"
11 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
12 WEB_SITE="http://tcl.sourceforge.net/"
13 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Redefine TK source path
19 src=${SOURCE}${VERSION}/unix
21 cd $src
22 ./configure --prefix=/usr \
23 --enable-threads \
24 --enable-shared $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 _pkg=${SOURCE}${VERSION}/unix/_pkg
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/tk8.4 $fs/usr/lib
39 cd $fs/usr/bin
40 ln -s wish8.4 wish
41 }