1 # $NetBSD: Makefile,v 1.33 2013/02/16 11:25:26 wiz Exp $
3 .
include "../../x11/qt4-libs/Makefile.common"
5 PKGNAME
= qt4-sqlite3-
${QTVERSION}
7 COMMENT
= QT sqlite3 driver
9 CONFIGURE_ARGS
+= -I
${QTDIR}/include
10 CONFIGURE_ARGS
+= -L
${QTDIR}/lib
11 CONFIGURE_ARGS
+= -system-sqlite
14 USE_TOOLS
+= pkg-config
17 cd
${WRKSRC}/src
/tools
/bootstrap
&& env
${MAKE_ENV} ${GMAKE}
18 cd
${WRKSRC}/src
/tools
/moc
&& env
${MAKE_ENV} ${GMAKE}
19 cd
${WRKSRC}/src
/plugins
/sqldrivers
/sqlite
&& env
${MAKE_ENV} ${GMAKE}
21 SQLDRVDIR
= ${QTPREFIX}/plugins
/sqldrivers
22 INSTALLATION_DIRS
= ${SQLDRVDIR}
25 ${LIBTOOL} --mode
=install ${INSTALL_LIB} ${WRKSRC}/plugins
/sqldrivers
/libqsqlite.la \
26 ${DESTDIR}${SQLDRVDIR}
28 .
include "../../x11/qt4-libs/buildlink3.mk"
29 .
include "../../x11/qt4-tools/buildlink3.mk"
30 .
include "../../databases/sqlite3/buildlink3.mk"
31 .
include "../../mk/bsd.pkg.mk"