wok-6.x annotate 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 |
rev | line source |
---|---|
erjo@1863 | 1 # SliTaz package receipt. |
erjo@1863 | 2 |
erjo@1863 | 3 PACKAGE="tls" |
erjo@1863 | 4 VERSION="1.5.0" |
erjo@1863 | 5 CATEGORY="nnetworking" |
erjo@1863 | 6 SHORT_DESC="OpenSSL Tcl extension." |
erjo@1863 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@1863 | 8 DEPENDS="" |
erjo@1863 | 9 BUILD_DEPENS="openssl-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 |
erjo@1863 | 36 } |