mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 07:47:14 +08:00
30 lines
637 B
Bash
30 lines
637 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
pkgname=tls
|
|
pkgver=1.6
|
|
pkgrel=2
|
|
pkgdesc="OpenSSL extension to Tcl"
|
|
arch=('x86_64')
|
|
url="http://tls.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('tcl' 'openssl' 'awk')
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname$pkgver-src.tar.gz")
|
|
md5sums=('eb326ff9e6fc3b9885aa5c72fb8df3bf')
|
|
|
|
build() {
|
|
cd $startdir/src/tls$pkgver
|
|
|
|
./configure --prefix=/usr --with-ssl-dir=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd $startdir/src/tls$pkgver
|
|
|
|
make DESTDIR=$startdir/pkg install
|
|
ln -s tls1.6/libtls1.6.so $pkgdir/usr/lib/libtls1.6.so
|
|
}
|