pkgsrc/x11/qt4-mysql/Makefile

31 lines
847 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.16 2011/03/03 05:50:05 adam Exp $
2009-07-07 20:04:13 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
2009-04-15 22:39:42 +02:00
.include "../../x11/qt4-libs/Makefile.common"
PKGNAME= qt4-mysql-${QTVERSION}
COMMENT= QT mysql driver
CONFIGURE_ARGS+= -I${QTDIR}/include
CONFIGURE_ARGS+= -L${QTDIR}/lib
BUILD_QT4= yes
do-build:
cd ${WRKSRC}/src/tools/bootstrap && env ${MAKE_ENV} ${GMAKE}
2009-04-15 22:39:42 +02:00
cd ${WRKSRC}/src/tools/moc && env ${MAKE_ENV} ${GMAKE}
cd ${WRKSRC}/src/plugins/sqldrivers/mysql && env ${MAKE_ENV} ${GMAKE}
SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers
2009-07-07 20:04:13 +02:00
INSTALLATION_DIRS= ${SQLDRVDIR}
2009-04-15 22:39:42 +02:00
do-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/plugins/sqldrivers/libqsqlmysql.la \
2009-07-07 20:04:13 +02:00
${DESTDIR}${SQLDRVDIR}
2009-04-15 22:39:42 +02:00
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/mysql.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"