diff options
author | agc <agc@pkgsrc.org> | 2007-11-10 11:33:00 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2007-11-10 11:33:00 +0000 |
commit | 9ea820f0085e02526b02438c600550073a1464a1 (patch) | |
tree | 8616b76b913a0d1b5905e885a3971bd90da550b9 /databases/cstore/Makefile | |
parent | a81f21939c1ffc103c33677cbf78579f6a3e04a9 (diff) | |
download | pkgsrc-9ea820f0085e02526b02438c600550073a1464a1.tar.gz |
Initial import of cstore-0.2, a "column store" relational database,
into the Packages Collection. This package is meant to support data
warehousing in a much more efficient manner than traditional RDBMSs.
C-Store is a read-optimized relational DBMS that contrasts sharply
with most current systems, which are write-optimized. Among the many
differences in its design are:
+ storage of data by column rather than by row,
+ careful coding and packing of objects into storage including main
memory during query processing,
+ storing an overlapping collection of column-oriented projections,
rather than the current fare of tables and indexes,
+ a non-traditional implementation of transactions which includes high
availability and snapshot isolation for read-only transactions,
+ and the extensive use of bitmap indexes to complement B-tree
structures.
Please note that the storage required for this package could be viewed
as being quite extreme - the standard build and data occupies in excess
of 20 GB, and that is all installed into ${PREFIX} at installation
time.
Diffstat (limited to 'databases/cstore/Makefile')
-rw-r--r-- | databases/cstore/Makefile | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/databases/cstore/Makefile b/databases/cstore/Makefile new file mode 100644 index 00000000000..0050bc93311 --- /dev/null +++ b/databases/cstore/Makefile @@ -0,0 +1,73 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/11/10 11:33:00 agc Exp $ + +DISTNAME= cstore0.2 +PKGNAME= cstore-0.2 +CATEGORIES= databases +MASTER_SITES= http://db.lcs.mit.edu/projects/cstore/ +MASTER_SITES+= http://db.csail.mit.edu/data/ +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} data4.tar.gz D6.data.ros.gz + +MAINTAINER= agc@NetBSD.org +HOMEPAGE= http://db.lcs.mit.edu/projects/cstore/ +COMMENT= Read-optimised column store relational DBMS + +USE_TOOLS+= gmake perl +USE_LANGUAGES+= c c++ +WRKSRC= ${WRKDIR}/cstore + +REPLACE_PERL= Build/BSsrcs + +SUBST_CLASSES+= prefix +SUBST_STAGE.prefix= post-patch +SUBST_FILES.prefix= Build/makefile.init +SUBST_SED.prefix+= -e 's|@PREFIX@|'${PREFIX:Q}'|g' + +DATAFILES= D1.data.mini +DATAFILES+= D1.data.retsupp50sort +DATAFILES+= D1.shipdate.mini +DATAFILES+= D1.suppkey.mini +DATAFILES+= D10.data.ros +DATAFILES+= D10.data.wos +DATAFILES+= D2.data +DATAFILES+= D2.data.mini +DATAFILES+= D3.custkey.mini +DATAFILES+= D3.data.mini +DATAFILES+= D4.data +DATAFILES+= D4.data.mini +DATAFILES+= D5.data.mini +DATAFILES+= D6.data.ros +DATAFILES+= D6.data.wos +DATAFILES+= D7.data.ros +DATAFILES+= D7.data.wos +DATAFILES+= D8.data.ros +DATAFILES+= D8.data.wos +DATAFILES+= D9.data.ros +DATAFILES+= D9.data.wos +DATAFILES+= d1.lsuppkey.full +DATAFILES+= deltaPos.test +DATAFILES+= deltaPosTestBig2 +DATAFILES+= lineitem.sorted.full +DATAFILES+= lshipdate.sorted.mini +DATAFILES+= lshipdate.sorted.tiny +DATAFILES+= supp.data + +INSTALLATION_DIRS_FROM_PLIST= yes + +post-extract: + cd ${WRKDIR} && mv ${DATAFILES} ${WRKSRC}/data + +do-build: + cd ${WRKSRC}/src && ${SETENV} ${BUILD_ENV} ${MAKE} debug2 + cd ${WRKSRC}/src && ./cstoreqptest 0 createData.cnf global.cnf + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/cstoreqptest ${PREFIX}/bin/cstoreqp + ${INSTALL_DATA_DIR} ${PREFIX}/cstore/data + cd ${WRKSRC}/data && pax -rwpe . ${PREFIX}/cstore/data + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cstore + cd ${WRKSRC}/doc && pax -rwpe . ${PREFIX}/share/doc/cstore + +.include "../../archivers/lzo/buildlink3.mk" +.include "../../databases/db4/buildlink3.mk" + +.include "../../mk/bsd.pkg.mk" |