diff options
author | schnoebe <schnoebe@pkgsrc.org> | 2011-02-06 06:01:15 +0000 |
---|---|---|
committer | schnoebe <schnoebe@pkgsrc.org> | 2011-02-06 06:01:15 +0000 |
commit | 7c0de2fe963fa0812c58ed0d574e5fe729bdaaa1 (patch) | |
tree | e82e4da53236eb1bb9124b0ce002ff29728ca42e | |
parent | 93c76b0836ef37127ee8041856cf16a0104bab88 (diff) | |
download | pkgsrc-7c0de2fe963fa0812c58ed0d574e5fe729bdaaa1.tar.gz |
Import the SQL database accessor class for Poco 1.4.0.
A child of ../../databases/poco-data.
-rw-r--r-- | databases/poco-data-sqlite/DESCR | 1 | ||||
-rw-r--r-- | databases/poco-data-sqlite/Makefile | 35 | ||||
-rw-r--r-- | databases/poco-data-sqlite/PLIST | 13 | ||||
-rw-r--r-- | databases/poco-data-sqlite/buildlink3.mk | 16 |
4 files changed, 65 insertions, 0 deletions
diff --git a/databases/poco-data-sqlite/DESCR b/databases/poco-data-sqlite/DESCR new file mode 100644 index 00000000000..c5ef1583c41 --- /dev/null +++ b/databases/poco-data-sqlite/DESCR @@ -0,0 +1 @@ +The Data/SQLite module for POCO. diff --git a/databases/poco-data-sqlite/Makefile b/databases/poco-data-sqlite/Makefile new file mode 100644 index 00000000000..d01bfa116cc --- /dev/null +++ b/databases/poco-data-sqlite/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/02/06 06:01:15 schnoebe Exp $ +# + +PKGNAME= poco-data-sqlite-${POCO_VERSION} +CATEGORIES= databases + +COMMENT= POCO C++ SQLite RDBMS Accessor libraries + +.include "../../wip/poco/Makefile.common" + +CONFIGURE_ARGS+= --prefix=${PREFIX} +CONFIGURE_ARGS+= --omit=Data/MySQL,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/SQLite lib + +do-build: + cd ${WRKSRC} && ${TOOLS_GMAKE} POCO_BASE=${WRKSRC} -C Data/SQLite + +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/SQLite && \ + ${PAX} -rw -v -pp include ${DESTDIR}${PREFIX} + +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../wip/poco-data/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/poco-data-sqlite/PLIST b/databases/poco-data-sqlite/PLIST new file mode 100644 index 00000000000..941e77e2099 --- /dev/null +++ b/databases/poco-data-sqlite/PLIST @@ -0,0 +1,13 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/02/06 06:01:15 schnoebe Exp $ +include/Poco/Data/SQLite/SessionImpl.h +include/Poco/Data/SQLite/Connector.h +include/Poco/Data/SQLite/Binder.h +include/Poco/Data/SQLite/SQLiteException.h +include/Poco/Data/SQLite/Extractor.h +include/Poco/Data/SQLite/Utility.h +include/Poco/Data/SQLite/SQLite.h +include/Poco/Data/SQLite/SQLiteStatementImpl.h +lib/libPocoSQLited.so.10 +lib/libPocoSQLite.so.10 +lib/libPocoSQLited.so +lib/libPocoSQLite.so diff --git a/databases/poco-data-sqlite/buildlink3.mk b/databases/poco-data-sqlite/buildlink3.mk new file mode 100644 index 00000000000..fd22fe229a8 --- /dev/null +++ b/databases/poco-data-sqlite/buildlink3.mk @@ -0,0 +1,16 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2011/02/06 06:01:15 schnoebe Exp $ + +BUILDLINK_TREE+= poco-data-sqlite + +.if !defined(POCO_DATA_SQLITE_BUILDLINK3_MK) +POCO_DATA_SQLITE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.poco-data-sqlite+= poco-data-sqlite>=1.3.5 +BUILDLINK_ABI_DEPENDS.poco-data-sqlite?= poco-data-sqlite>=1.3.5nb1 +BUILDLINK_PKGSRCDIR.poco-data-sqlite?= ../../wip/poco-data-sqlite + +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../wip/poco-data/buildlink3.mk" +.endif # POCO_DATA_SQLITE_BUILDLINK3_MK + +BUILDLINK_TREE+= -poco-data-sqlite |