package = "cqueues"
version = "20160316.52-0"
source = {
	url = "https://github.com/wahern/cqueues/archive/rel-20160316.tar.gz";
	md5 = "da8267e321657089beed4f14620fd460";
	dir = "cqueues-rel-20160316";
}
description = {
	summary = "Continuation Queues: Embeddable asynchronous networking, threading, and notification framework for Lua on Unix.";
	homepage = "http://25thandclement.com/~william/projects/cqueues.html";
	license = "MIT/X11";
	maintainer = "Daurnimator <quae@daurnimator.com>";
}
supported_platforms = {
	"linux";
	"bsd";
	"solaris";
}
dependencies = {
	"lua == 5.2";
}
external_dependencies = {
	OPENSSL = {
		header = "openssl/ssl.h";
		library = "ssl";
	};
	CRYPTO = {
		header = "openssl/crypto.h";
		library = "crypto";
	};
}
build = {
	type = "make";
	makefile = "GNUmakefile";

	build_target = "all5.2";
	build_variables = {
		CFLAGS = "$(CFLAGS)";
		bindir = "$(LUA_BINDIR)";
		includedir = "$(LUA_INCDIR)";
		libdir = "$(LUA_LIBDIR)";
	};

	install_target = "install5.2";
	install_variables = {
		prefix = "$(PREFIX)";
		lua52cpath = "$(LIBDIR)";
		lua52path = "$(LUADIR)";
		bindir = "$(BINDIR)";
	};
}
