wok-stable diff tls/receipt @ rev 1863
Add: amsn, tls.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue Dec 16 01:38:26 2008 +0100 (2008-12-16) |
parents | |
children | 5adbdc6db7d1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tls/receipt Tue Dec 16 01:38:26 2008 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tls" 1.7 +VERSION="1.5.0" 1.8 +CATEGORY="nnetworking" 1.9 +SHORT_DESC="OpenSSL Tcl extension." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="" 1.12 +BUILD_DEPENS="openssl-dev" 1.13 +TARBALL="${PACKAGE}${VERSION}-src.tar.gz" 1.14 +WEB_SITE="http://tls.sourceforge.net/" 1.15 +WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + test -d ${PACKAGE}-${VERSION} || \ 1.21 + mv ${PACKAGE}${VERSION%%.[0-9]} ${PACKAGE}-${VERSION} 1.22 + 1.23 + cd $src 1.24 + ./configure --prefix=/usr \ 1.25 + --with-ssl-dir=/usr \ 1.26 + --disable-symboles && \ 1.27 + make 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/lib/tls1.50 1.34 + cp -a $src/libtls1.50.so $fs/usr/lib/tls1.50 1.35 + cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.50 1.36 + cp -a $src/tls.tcl $fs/usr/lib/tls1.50 1.37 + 1.38 + sed -i 's/dir ../dir/' $fs/usr/lib/tls1.50/pkgIndex.tcl 1.39 +}