wok view tcl/receipt @ rev 4075
Add: libupnp (The portable Universal Plug and Play)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Sep 13 23:57:55 2009 +0200 (2009-09-13) |
parents | a075ff895254 |
children | 866fa2493b1b |
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 # Redefine source path src
18 src=${SOURCE}${VERSION}/unix
20 cd $src
21 ./configure --prefix=/usr \
22 --infodir=/usr/share/info \
23 --enable-shared \
24 --disable-symbols \
25 --mandir=/usr/share/man $CONFIGURE_ARGS && \
26 make && \
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
34 _pkg=${SOURCE}${VERSION}/unix/_pkg
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/bin $fs/usr
39 strip -s $fs/usr/bin/*
40 }
42 clean_wok(){
43 test -d ${SOURCE}${VERSION} && rm -rf ${SOURCE}${VERSION}
44 }