blob: da722b26f923f78730c3683d1ee4d19e481eee54 (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Contributor: Orion <systmkor@gmail.com>
# Maintainer: Orion <systmkor@gmail.com>
#
#
pkgname=libressl
pkgver=2.2.4
pkgrel=0
pkgdesc="FREE version of the SSL/TLS protocol forked from OpenSSL - Portable edition"
url="http://www.libressl.org/"
arch="all"
license="openssl"
depends=""
depends_dev=""
makedepends="$depends_dev linux-headers"
install=""
replaces="openssl"
subpackages="$pkgname-libs $pkgname-dev $pkgname-doc"
source="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${pkgver}.tar.gz"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
dev() {
default_dev
replaces="openssl-dev"
}
md5sums="bae037598bd63987666302f9644de237 libressl-2.2.4.tar.gz"
sha256sums="6b409859be8654afc3862549494e097017e64c8d167f12584383586306ef9a7e libressl-2.2.4.tar.gz"
sha512sums="390fbf4f531976c873a0a1163fd57f33097686c6956ec4d3eb69e8271a4e40abfec76d65172b34ae50af8936dd8b5c3ca5fefee9d8686ca468a5577d432c3fe5 libressl-2.2.4.tar.gz"
|