Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / x11 / qt4-sqlite3 / Makefile
blob2329e7cddab27a9ab5846aec8987f9e83fc7a1c1
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}
6 PKGREVISION= 3
7 COMMENT= QT sqlite3 driver
9 CONFIGURE_ARGS+= -I${QTDIR}/include
10 CONFIGURE_ARGS+= -L${QTDIR}/lib
11 CONFIGURE_ARGS+= -system-sqlite
13 BUILD_QT4= yes
14 USE_TOOLS+= pkg-config
16 do-build:
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}
24 do-install:
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"