wok annotate tls/receipt @ rev 15403
Up: libdevmapper (2.02.98)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Nov 02 21:28:33 2013 +0100 (2013-11-02) |
parents | 6c783361ba07 |
children | 23c3aed67cd9 |
rev | line source |
---|---|
erjo@1863 | 1 # SliTaz package receipt. |
erjo@1863 | 2 |
erjo@1863 | 3 PACKAGE="tls" |
slaxemulator@13121 | 4 VERSION="1.6" |
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/" |
slaxemulator@13121 | 12 WGET_URL="$SF_MIRROR/$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 cd $src |
erjo@1863 | 18 ./configure --prefix=/usr \ |
erjo@1863 | 19 --with-ssl-dir=/usr \ |
erjo@1863 | 20 --disable-symboles && \ |
erjo@1863 | 21 make |
erjo@1863 | 22 } |
erjo@1863 | 23 |
erjo@1863 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1863 | 25 genpkg_rules() |
erjo@1863 | 26 { |
slaxemulator@13121 | 27 mkdir -p $fs/usr/lib/tls1.6 |
slaxemulator@13121 | 28 cp -a $src/libtls1.6.so $fs/usr/lib/tls1.6 |
slaxemulator@13121 | 29 cp -a $src/pkgIndex.tcl $fs/usr/lib/tls1.6 |
slaxemulator@13121 | 30 cp -a $src/tls.tcl $fs/usr/lib/tls1.6 |
erjo@1863 | 31 |
slaxemulator@13121 | 32 sed -i 's/dir ../dir/' $fs/usr/lib/tls1.6/pkgIndex.tcl |
erjo@1863 | 33 } |