From b6053af5c9879ce7ebdf34e77d53f4cd93019a22 Mon Sep 17 00:00:00 2001 From: skrll Date: Wed, 13 Nov 2002 13:33:03 +0000 Subject: Initial import of a package for a QT3 plugin database library for MySQL. --- x11/qt3-mysql/DESCR | 1 + x11/qt3-mysql/Makefile | 32 ++++++++++++++++++++++++++++++++ x11/qt3-mysql/PLIST | 5 +++++ 3 files changed, 38 insertions(+) create mode 100644 x11/qt3-mysql/DESCR create mode 100644 x11/qt3-mysql/Makefile create mode 100644 x11/qt3-mysql/PLIST diff --git a/x11/qt3-mysql/DESCR b/x11/qt3-mysql/DESCR new file mode 100644 index 00000000000..25644f8dfb0 --- /dev/null +++ b/x11/qt3-mysql/DESCR @@ -0,0 +1 @@ +QT mysql driver diff --git a/x11/qt3-mysql/Makefile b/x11/qt3-mysql/Makefile new file mode 100644 index 00000000000..c5d77a96402 --- /dev/null +++ b/x11/qt3-mysql/Makefile @@ -0,0 +1,32 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/11/13 13:33:03 skrll Exp $ +# + +.include "../qt3-libs/Makefile.common" + +PKGNAME= qt3-mysql-${QTVERSION} +COMMENT= QT mysql driver + +CONFIGURE_ARGS+= -I${QTDIR}/include \ + -L${QTDIR}/lib \ + -I${BUILDLINK_PREFIX.mysql-client}/include/mysql \ + -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql + +MAKE_ENV+= LIBQT="-lqt-mt" + +USE_BUILDLINK2= yes +BUILD_QT3= yes + +do-build: + (cd ${WRKSRC}/plugins/src/sqldrivers/mysql; \ + ${SETENV} ${MAKE_ENV} ${GMAKE}) + +SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers + +do-install: + ${INSTALL_DATA_DIR} ${SQLDRVDIR} + ${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlmysql.la \ + ${SQLDRVDIR} + +.include "../../x11/qt3-libs/buildlink2.mk" +.include "../../databases/mysql-client/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/x11/qt3-mysql/PLIST b/x11/qt3-mysql/PLIST new file mode 100644 index 00000000000..52153464c34 --- /dev/null +++ b/x11/qt3-mysql/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/13 13:33:03 skrll Exp $ +qt3/plugins/sqldrivers/libqsqlmysql.a +qt3/plugins/sqldrivers/libqsqlmysql.la +qt3/plugins/sqldrivers/libqsqlmysql.so +@dirrm qt3/plugins/sqldrivers -- cgit v1.2.3