### mandatory fields
PKG_NAME=sql.sqlite3

### things relative to the C library part
CLIB_CFLAGS=$(shell pkg-config sqlite3 --cflags)
CLIB_LDFLAGS=$(shell pkg-config sqlite3 --libs)
CLIB_OBJS=src/luasql.lo src/ls_sqlite3.lo
VERSION_INFO=2:0:0

### things relative to the lua library part
LUA_HEADER=
LUA_SOURCES=
LUA_MODNAME=luasql.sqlite3
LUA_TEST=tests/test.lua sqlite3 luasql-test

### this part is relative to pkg-config
PKG_VERSION=$(shell dpkg-parsechangelog|grep ^Ver|cut -d ' ' -f 2|cut -d '-' -f 1)
PKG_LIBS_PRIVATE=
PKG_URL=
PKG_REQUIRES=sqlite3
PKG_CONFLICTS=

### this part is relative to debian libs naming policy
DEB_EXTRA_DASH=-

pre-clean-hook::
	rm -f luasql-test
