void-packages/srcpkgs/libressl/template

40 lines
959 B
Plaintext

# Template file for 'libressl'
pkgname=libressl
version=2.0.1
revision=2
bootstrap=yes
build_style=gnu-configure
short_desc="FREE version of the SSL/TLS protocol forked from OpenSSL"
maintainer="Juan RP <xtraeme@gmail.com>"
license="OpenSSL-License, SSLeay-License"
homepage="http://www.libressl.org/"
distfiles="http://ftp.openbsd.org/pub/OpenBSD/LibreSSL/${pkgname}-${version}.tar.gz"
checksum=9596f6cb3e8bafe35d749dfbdb6c984f1bbd86233598eb5fdb4abf854a5792ba
post_install() {
vlicense COPYING
}
libressl-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
conflicts="openssl-devel>=0"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}
libressl-openssl_package() {
short_desc+=" - openssl utility"
conflicts="openssl>=0"
replaces="libressl<2.0.1_2"
pkg_install() {
vmove usr/bin
vmove usr/share/man/man1
}
}