wok view tk/receipt @ rev 9093
emacs-pkg-lua-mode: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 20:20:15 2011 +0100 (2011-03-04) |
parents | b81a1aeb22bd |
children | e8768e5178a6 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tk"
4 VERSION="8.5.9"
5 CATEGORY="development"
6 SHORT_DESC="The TCL gui toolkit"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="tcl expat fontconfig freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
9 xorg-libXft xorg-libXrender zlib xorg-libXss"
10 BUILD_DEPENDS="tcl-dev xorg-libX11-dev"
11 SOURCE="tk"
12 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
13 WEB_SITE="http://tcl.sourceforge.net/"
14 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
15 TAGS="programming language"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/unix
21 ./configure --prefix=/usr \
22 --enable-threads \
23 --enable-shared $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/tk${VERSION%%.[0-9]} $fs/usr/lib
36 cd $fs/usr/bin
37 ln -s wish${VERSION%%.[0-9]} wish
38 }