pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/poco-data-mysql Import the MySQL accessors f...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e9aaf3748573
branches: trunk
changeset: 585042:e9aaf3748573
user: schnoebe <schnoebe%pkgsrc.org@localhost>
date: Sun Feb 06 06:02:02 2011 +0000
description:
Import the MySQL accessors for the Poco 1.4.0 Data classes.
diffstat:
databases/poco-data-mysql/DESCR | 1 +
databases/poco-data-mysql/Makefile | 42 +++++++++++++++++++++++++++++++++
databases/poco-data-mysql/PLIST | 15 +++++++++++
databases/poco-data-mysql/buildlink3.mk | 16 ++++++++++++
4 files changed, 74 insertions(+), 0 deletions(-)
diffs (90 lines):
diff -r 1fc9bb3d2db9 -r e9aaf3748573 databases/poco-data-mysql/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/poco-data-mysql/DESCR Sun Feb 06 06:02:02 2011 +0000
@@ -0,0 +1,1 @@
+The Data/MySQL module for POCO.
diff -r 1fc9bb3d2db9 -r e9aaf3748573 databases/poco-data-mysql/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/poco-data-mysql/Makefile Sun Feb 06 06:02:02 2011 +0000
@@ -0,0 +1,42 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/02/06 06:02:02 schnoebe Exp $
+#
+
+PKGNAME= poco-data-mysql-${POCO_VERSION}
+CATEGORIES= databases
+
+COMMENT= POCO C++ MySQL RDBMS Accessor libraries
+
+.include "../../wip/poco/Makefile.common"
+
+CONFIGURE_ARGS+= --prefix=${PREFIX}
+CONFIGURE_ARGS+= --omit=Data/SQLite,Data/ODBC,Zip,XML
+CONFIGURE_ARGS+= --omit=Foundation,Net,NetSSL_OpenSSL
+CONFIGURE_ARGS+= --no-tests
+CONFIGURE_ARGS+= --no-samples
+
+USE_TOOLS+= pax
+
+INSTALLATION_DIRS= include/Poco/Data/MySQL lib
+
+do-build:
+ cd ${WRKSRC} && ${TOOLS_GMAKE} POCO_BASE=${WRKSRC} -C Data/MySQL
+
+do-install:
+ # using the same logic as Poco's Makefile install target.
+ cd ${WRKSRC} && find lib -name 'libPoco*' -type f -exec cp -f {} \
+ ${DESTDIR}${PREFIX}/lib \;
+ cd ${WRKSRC} && find lib -name 'libPoco*' -type l -exec cp -Rf {} \
+ ${DESTDIR}${PREFIX}/lib \;
+ cd ${WRKSRC}/Data/MySQL && \
+ ${PAX} -rw -v -pp include ${DESTDIR}${PREFIX}
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= pkgsrc-izing paths
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= Data/MySQL/Makefile
+SUBST_SED.paths= -e 's,@MYSQLLIBDIR@,${BUILDLINK_DIR}/${BUILDLINK_LIBDIRS.mysql-client},g'
+SUBST_SED.paths+= -e 's,@MYSQLINCDIR@,${BUILDLINK_DIR}/${BUILDLINK_INCDIRS.mysql-client},g'
+
+.include "../../databases/mysql5-client/buildlink3.mk"
+.include "../../wip/poco-data/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1fc9bb3d2db9 -r e9aaf3748573 databases/poco-data-mysql/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/poco-data-mysql/PLIST Sun Feb 06 06:02:02 2011 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/02/06 06:02:02 schnoebe Exp $
+include/Poco/Data/MySQL/MySQLException.h
+include/Poco/Data/MySQL/Connector.h
+include/Poco/Data/MySQL/Binder.h
+include/Poco/Data/MySQL/ResultMetadata.h
+include/Poco/Data/MySQL/Extractor.h
+include/Poco/Data/MySQL/MySQL.h
+include/Poco/Data/MySQL/MySQLStatementImpl.h
+include/Poco/Data/MySQL/SessionHandle.h
+include/Poco/Data/MySQL/SessionImpl.h
+include/Poco/Data/MySQL/StatementExecutor.h
+lib/libPocoMySQLd.so.10
+lib/libPocoMySQL.so.10
+lib/libPocoMySQLd.so
+lib/libPocoMySQL.so
diff -r 1fc9bb3d2db9 -r e9aaf3748573 databases/poco-data-mysql/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/poco-data-mysql/buildlink3.mk Sun Feb 06 06:02:02 2011 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/02/06 06:02:02 schnoebe Exp $
+
+BUILDLINK_TREE+= poco-data-mysql
+
+.if !defined(POCO_DATA_MYSQL_BUILDLINK3_MK)
+POCO_DATA_MYSQL_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.poco-data-mysql+= poco-data-mysql>=1.3.5
+BUILDLINK_ABI_DEPENDS.poco-data-mysql?= poco-data-mysql>=1.3.5nb1
+BUILDLINK_PKGSRCDIR.poco-data-mysql?= ../../wip/poco-data-mysql
+
+.include "../../databases/mysql5-client/buildlink3.mk"
+.include "../../wip/poco-data/buildlink3.mk"
+.endif # POCO_DATA_MYSQL_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -poco-data-mysql
Home |
Main Index |
Thread Index |
Old Index