wok-6.x view tcl/receipt @ rev 5045
cryptsetup: support libdevmapper
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Mar 04 19:32:57 2010 +0000 (2010-03-04) |
parents | c9b31ceaa516 |
children | ef1d289e8344 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tcl"
4 VERSION="8.5.5"
5 CATEGORY="development"
6 SHORT_DESC="The Tool Command Language"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 SOURCE="tcl"
10 TARBALL="${SOURCE}${VERSION}-src.tar.gz"
11 WEB_SITE="http://tcl.sourceforge.net/"
12 WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL"
13 TAGS="language programming"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Redefine source path src
19 src=${SOURCE}${VERSION}/unix
21 cd $src
22 ./configure --prefix=/usr \
23 --infodir=/usr/share/info \
24 --enable-shared \
25 --disable-symbols \
26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
27 make && \
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
35 _pkg=${SOURCE}${VERSION}/unix/_pkg
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
38 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
39 cp -a $_pkg/usr/bin $fs/usr
40 strip -s $fs/usr/bin/*
41 }
43 clean_wok(){
44 test -d ${SOURCE}${VERSION} && rm -rf ${SOURCE}${VERSION}
45 }