31 lines
734 B
Makefile
31 lines
734 B
Makefile
# $NetBSD: Makefile,v 1.8 2006/08/14 22:33:11 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= lsqlite_src
|
|
PKGNAME= lua-sqlite-20030228
|
|
PKGREVISION= 4
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://lua-users.org/files/wiki_insecure/binary_modules/luasqlite/
|
|
EXTRACT_SUFX= .zip
|
|
|
|
MAINTAINER= pancake@phreaker.net
|
|
HOMEPAGE= http://lua-users.org/wiki/LuaSqlite
|
|
COMMENT= SQLite binding for LUA
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
CFLAGS+= -fPIC
|
|
LIBS+= -llua -lsqlite
|
|
|
|
INSTALLATION_DIRS= lib
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; ${CC} -shared ${CFLAGS} ${LDFLAGS} lsqlite.c \
|
|
-o libluasqlite.so ${LIBS}
|
|
|
|
do-install:
|
|
${INSTALL_DATA} ${WRKSRC}/libluasqlite.so ${PREFIX}/lib
|
|
|
|
.include "../../databases/sqlite/buildlink3.mk"
|
|
.include "../../lang/lua/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|