summaryrefslogtreecommitdiff
path: root/community/tls
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-02 13:37:59 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-12-02 13:37:59 -0300
commit3383a1fbd954b78716dd8ff9d9f2097e176d2279 (patch)
tree68aa3acbd50e6d0d7bdcfa2947d1772f7edb8a0d /community/tls
parent7f3d7e2203a9252280361a1d095528cb056d08dc (diff)
parent9e9ab642711f2424f828e21d14b98c45cdef2b29 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-testing/packagekit/PKGBUILD community/liboglappth/PKGBUILD community/texvc/PKGBUILD extra/libvdpau/PKGBUILD extra/minicom/PKGBUILD extra/muparser/PKGBUILD extra/netkit-bsd-finger/PKGBUILD extra/normalize/PKGBUILD
Diffstat (limited to 'community/tls')
-rw-r--r--community/tls/PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/community/tls/PKGBUILD b/community/tls/PKGBUILD
index c604b4237..a12e807fb 100644
--- a/community/tls/PKGBUILD
+++ b/community/tls/PKGBUILD
@@ -1,25 +1,31 @@
-# $Id: PKGBUILD 14340 2010-04-02 23:21:39Z foutrelis $
+# $Id: PKGBUILD 59810 2011-11-30 14:40:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s@gmail.com>
-# Contributor: Mario Vazquez <mariovazq@gmail.com>
+# Contributor: Mario Vazquez <mariovazq@gmail.com>
pkgname=tls
pkgver=1.6
-pkgrel=3
+pkgrel=4
pkgdesc="OpenSSL extension to Tcl"
arch=('i686' 'x86_64' 'mips64el')
url="http://tls.sourceforge.net/"
license=('GPL')
depends=('tcl' 'openssl' 'awk')
-source=(http://downloads.sourceforge.net/$pkgname/$pkgname$pkgver-src.tar.gz)
+source=(http://downloads.sourceforge.net/project/tls/tls/$pkgver/tls$pkgver-src.tar.gz)
md5sums=('eb326ff9e6fc3b9885aa5c72fb8df3bf')
build() {
- cd $startdir/src/tls$pkgver
-
+ cd $srcdir/tls$pkgver
./configure --prefix=/usr --with-ssl-dir=/usr
- make || return 1
- make test | awk '{print}/FAILED/{F=1}END{if(F)exit 1}'
- make DESTDIR=$startdir/pkg install || return 1
-# sed -i 's|ifneeded tls 1.5|ifneeded tls 1.50|' $startdir/pkg/usr/lib/tls1.50/pkgIndex.tcl
- ln -s tls1.6/libtls1.6.so $pkgdir/usr/lib/libtls1.6.so
+ make
+}
+
+check() {
+ cd $srcdir/tls$pkgver
+# make test | awk '{print}/FAILED/{F=1}END{if(F)exit 1}'
+}
+
+package() {
+ cd $srcdir/tls$pkgver
+ make DESTDIR=$pkgdir install
+ ln -s tls$pkgver/libtls$pkgver.so $pkgdir/usr/lib/libtls$pkgver.so
}