blob: 65b1b2af1a1f6c945b66e3e525975603cc6c20f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.7 2014/10/19 22:27:43 alnsn Exp $
DISTNAME= lua-sqlite3-0.4.1
PKGNAME= ${LUA_PKGPREFIX}-sqlite3-0.4.1
PKGREVISION= 5
CATEGORIES= databases
MASTER_SITES= http://www.mroth.net/lua-sqlite3/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.mroth.net/lua-sqlite3/
COMMENT= SQLite3 binding for LUA
LICENSE= mit
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --libdir=${PREFIX}/${LUA_CDIR}
CONFIGURE_ARGS+= --with-lua=${LUA_INTERPRETER:Q}
CFLAGS+= -fPIC
INSTALLATION_DIRS+= ${LUA_LDIR} ${LUA_CDIR}
post-install:
mv ${DESTDIR}${PREFIX}/${LUA_CDIR}/*.lua \
${DESTDIR}${PREFIX}/${LUA_LDIR}
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"
|