wok-current diff tcl8.4/receipt @ rev 1045
Add: PyXML for Inkscape
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jul 12 12:43:11 2008 +0200 (2008-07-12) |
parents | |
children | 3e397378bee1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tcl8.4/receipt Sat Jul 12 12:43:11 2008 +0200 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tcl8.4" 1.7 +VERSION="8.4.18" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="The Tool Command Language" 1.10 +MAINTAINER="Erjo <erjo@slitaz.org>" 1.11 +DEPENDS="" 1.12 +SOURCE="tcl" 1.13 +TARBALL="${SOURCE}${VERSION}-src.tar.gz" 1.14 +WEB_SITE="http://tcl.sourceforge.net/" 1.15 +WGET_URL="http://surfnet.dl.sourceforge.net/sourceforge/tcl/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + # Redefine source path src 1.21 + src=${SOURCE}${VERSION}/unix 1.22 + 1.23 + cd $src 1.24 + ./configure --prefix=/usr \ 1.25 + --infodir=/usr/share/info \ 1.26 + --enable-shared \ 1.27 + --disable-symbols \ 1.28 + --mandir=/usr/share/man $CONFIGURE_ARGS 1.29 + make 1.30 + make DESTDIR=$PWD/_pkg install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + 1.37 + _pkg=${SOURCE}${VERSION}/unix/_pkg 1.38 + mkdir -p $fs/usr/lib 1.39 + cp -a $_pkg/usr/lib/tcl8* $fs/usr/lib 1.40 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.41 + cp -a $_pkg/usr/bin $fs/usr 1.42 + strip -s $fs/usr/bin/* 1.43 +} 1.44 + 1.45 +clean_wok(){ 1.46 + rm -rf ${SOURCE}${VERSION} 1.47 +}