LUA_VERSION=5.1
PKG_NAME=sec
CLIB_CFLAGS=$(shell pkg-config --cflags libssl)
CLIB_LDFLAGS=$(shell pkg-config --libs libssl)
CLIB_LDFLAGS_STATIC=$(shell pkg-config --libs libssl --static)
CLIB_OBJS= src/buffer.lo src/context.lo src/io.lo src/ssl.lo src/timeout.lo src/usocket.lo
LUA_MODNAME_CPART=ssl.core
LUA_SOURCES=$(wildcard src/*.lua)
LUA_SOURCES_MANGLER=sed -e s?^src/?ssl/? -e s?^ssl/ssl.lua?ssl.lua?
LUA_MODNAME=ssl
LUA_TEST=cd samples/certs/ && sh rootA.sh && sh clientA.sh && sh serverA.sh && cd ../.. && @@LUA@@ test.lua && rm -f samples/certs/*.pem samples/certs/*.srl
PKG_REQUIRES=libssl

# backward compatibility stuff
VERSION_INFO=1:0:0
