pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/qt4-mysql Initial import of qt4 mysql plugin.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/82812b4887b9
branches:  trunk
changeset: 557479:82812b4887b9
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Apr 15 20:39:42 2009 +0000

description:
Initial import of qt4 mysql plugin.

diffstat:

 x11/qt4-mysql/DESCR    |   1 +
 x11/qt4-mysql/Makefile |  27 +++++++++++++++++++++++++++
 x11/qt4-mysql/PLIST    |   3 +++
 3 files changed, 31 insertions(+), 0 deletions(-)

diffs (43 lines):

diff -r afd405ca04b5 -r 82812b4887b9 x11/qt4-mysql/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-mysql/DESCR       Wed Apr 15 20:39:42 2009 +0000
@@ -0,0 +1,1 @@
+QT mysql driver
diff -r afd405ca04b5 -r 82812b4887b9 x11/qt4-mysql/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-mysql/Makefile    Wed Apr 15 20:39:42 2009 +0000
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/04/15 20:39:42 markd Exp $
+
+.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/moc && env ${MAKE_ENV} ${GMAKE}
+       cd ${WRKSRC}/src/plugins/sqldrivers/mysql && env ${MAKE_ENV} ${GMAKE}
+
+SQLDRVDIR=     ${QTPREFIX}/plugins/sqldrivers
+
+do-install:
+       ${INSTALL_DATA_DIR} ${SQLDRVDIR}
+       ${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlmysql.la \
+               ${SQLDRVDIR}
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r afd405ca04b5 -r 82812b4887b9 x11/qt4-mysql/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/qt4-mysql/PLIST       Wed Apr 15 20:39:42 2009 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/04/15 20:39:42 markd Exp $
+qt4/plugins/sqldrivers/libqsqlmysql.la
+@unexec ${RMDIR} %D/qt4/plugins/sqldrivers 2>/dev/null || ${TRUE}



Home | Main Index | Thread Index | Old Index