PKG_NAME=expat

### things relative to the C library part
CLIB_CFLAGS= -I src/ $(shell pkg-config expat --cflags)
CLIB_LDFLAGS= $(shell pkg-config expat --libs)
CLIB_OBJS= src/lxplib.lo

### things relative to the lua library part
LUA_HEADER=src/lxplib.h
LUA_SOURCES=src/lxp/lom.lua
LUA_SOURCES_MANGLER=sed 's?^src/??'
LUA_MODNAME=lxp
LUA_TEST=tests/test.lua; tests/test-lom.lua

### 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=http://matthewwild.co.uk/projects/luaexpat/
PKG_REQUIRES=
PKG_CONFLICTS=
