diff options
author | markd <markd@pkgsrc.org> | 2009-04-15 20:39:42 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2009-04-15 20:39:42 +0000 |
commit | 08547f6c1b484d869284230178baad63855a617f (patch) | |
tree | c9b5ee2a43eb0776d6688a3537eaf56653a3cf67 /x11/qt4-mysql | |
parent | 430b1fb174a4d4382d84126d139eec5c98cd084b (diff) | |
download | pkgsrc-08547f6c1b484d869284230178baad63855a617f.tar.gz |
Initial import of qt4 mysql plugin.
Diffstat (limited to 'x11/qt4-mysql')
-rw-r--r-- | x11/qt4-mysql/DESCR | 1 | ||||
-rw-r--r-- | x11/qt4-mysql/Makefile | 27 | ||||
-rw-r--r-- | x11/qt4-mysql/PLIST | 3 |
3 files changed, 31 insertions, 0 deletions
diff --git a/x11/qt4-mysql/DESCR b/x11/qt4-mysql/DESCR new file mode 100644 index 00000000000..25644f8dfb0 --- /dev/null +++ b/x11/qt4-mysql/DESCR @@ -0,0 +1 @@ +QT mysql driver diff --git a/x11/qt4-mysql/Makefile b/x11/qt4-mysql/Makefile new file mode 100644 index 00000000000..0bcbdd302d0 --- /dev/null +++ b/x11/qt4-mysql/Makefile @@ -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 --git a/x11/qt4-mysql/PLIST b/x11/qt4-mysql/PLIST new file mode 100644 index 00000000000..47a9c32972c --- /dev/null +++ b/x11/qt4-mysql/PLIST @@ -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} |