summaryrefslogtreecommitdiff
path: root/community/tls/PKGBUILD
blob: a12e807fbd1ef64c29897b630a81878e7fd1d447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 59810 2011-11-30 14:40:18Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s@gmail.com>
# Contributor: Mario Vazquez <mariovazq@gmail.com>

pkgname=tls
pkgver=1.6
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/project/tls/tls/$pkgver/tls$pkgver-src.tar.gz)
md5sums=('eb326ff9e6fc3b9885aa5c72fb8df3bf')

build() {
  cd $srcdir/tls$pkgver
  ./configure --prefix=/usr --with-ssl-dir=/usr
  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
}