void-packages/srcpkgs/luasec/template

19 lines
651 B
Bash

# Template file for 'luasec'
pkgname=luasec
version=0.5.1
revision=1
wrksrc=${pkgname}-${pkgname}-${version}
build_style=gnu-makefile
makedepends="lua51-devel libressl-devel"
depends="lua51"
short_desc="Lua binding for OpenSSL library to provide TLS/SSL communication"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="MIT"
homepage="https://github.com/brunoos/luasec"
distfiles="https://github.com/brunoos/luasec/archive/${pkgname}-${version}.tar.gz"
checksum=6d5c5f8e0521f3194668d9a839774e079e2fd5c45b15538dc7b8cacc56719406
do_build() {
make linux CC=$CC LD=$CC INC_PATH=-I${XBPS_CROSS_BASE}/usr/include LIB_PATH=-L${XBPS_CROSS_BASE}/usr/lib
}