wok annotate tls/receipt @ rev 2897

Add: Mitter (twitter client)
author Claudinei Pereira <claudinei@slitaz.org>
date Tue May 05 04:03:31 2009 +0000 (2009-05-05)
parents 3553ec54fcd3
children c3333f613204
rev   line source
erjo@1863 1 # SliTaz package receipt.
erjo@1863 2
erjo@1863 3 PACKAGE="tls"
erjo@1863 4 VERSION="1.5.0"
taziden@1986 5 CATEGORY="network"
erjo@1863 6 SHORT_DESC="OpenSSL Tcl extension."
erjo@1863 7 MAINTAINER="erjo@slitaz.org"
erjo@1872 8 DEPENDS="openssl tcl"
taziden@1874 9 BUILD_DEPENDS="openssl-dev tcl-dev"
erjo@1863 10 TARBALL="${PACKAGE}${VERSION}-src.tar.gz"
erjo@1863 11 WEB_SITE="http://tls.sourceforge.net/"
erjo@1863 12 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/$PACKAGE/$TARBALL"
erjo@1863 13
erjo@1863 14 # Rules to configure and make the package.
erjo@1863 15 compile_rules()
erjo@1863 16 {
erjo@1863 17 test -d ${PACKAGE}-${VERSION} || \
erjo@1863 18 mv ${PACKAGE}${VERSION%%.[0-9]} ${PACKAGE}-${VERSION}
erjo@1863 19
erjo@1863 20 cd $src
erjo@1863 21 ./configure --prefix=/usr \
erjo@1863 22 --with-ssl-dir=/usr \
erjo@1863 23 --disable-symboles && \
erjo@1863 24 make
erjo@1863 25 }
erjo@1863 26
erjo@1863 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1863 28 genpkg_rules()
erjo@1863 29 {
erjo@1863 30 mkdir -p $fs/usr/lib/tls1.50
erjo@1863 31 cp -a $src/libtls1.50.so $fs/usr/lib/tls1.50
erjo@1863 32 cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.50
erjo@1863 33 cp -a $src/tls.tcl $fs/usr/lib/tls1.50
erjo@1863 34
erjo@1863 35 sed -i 's/dir ../dir/' $fs/usr/lib/tls1.50/pkgIndex.tcl
taziden@1874 36 sed -i 's/tls 1.5/tls 1.50/' $fs/usr/lib/tls1.50/pkgIndex.tcl
erjo@1863 37 }