# Contributor: Orion # Maintainer: Orion # # pkgname=libressl pkgver=2.2.3 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="" subpackages="$pkgname-dev $pkgname-doc" source="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${pkgver}.tar.gz " _builddir="${srcdir}/${pkgname}-${pkgver}" prepare() { local i 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 } md5sums="9a3c3c9a1c0bd6fb2659ca003de3f725 libressl-2.2.3.tar.gz" sha256sums="a1ccc21adf91d60e99246031b99c930c9af5e1b1b5a61b1bec87beef6f16d882 libressl-2.2.3.tar.gz" sha512sums="79f0cd57d2f1202e7d1213a9f9e0665bce11d1c1e5a4ba48c98b81f94e09a8c72733a5dfb0a5626b91db146641cfbec79acb9a5cbb437a60924b7f028d224500 libressl-2.2.3.tar.gz"