diff options
author | wiz <wiz@pkgsrc.org> | 2010-03-10 23:55:48 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-03-10 23:55:48 +0000 |
commit | b6121c8f8f9fc2d34f76d9e0d155f4e09200ed21 (patch) | |
tree | a8b3fea571affc5b3a347bff0343c404961eb825 /databases/libdbi | |
parent | 89cc8ab97c6e73e9f15b8c418a6f4ec4c19b34d1 (diff) | |
download | pkgsrc-b6121c8f8f9fc2d34f76d9e0d155f4e09200ed21.tar.gz |
Initial import of libdbi and its drivers for mysql, postgresql and sqlite
(2 versions); packaged for wip by Aleksey Cheusov.
libdbi implements a database-independent abstraction layer in C, similar to
the DBI/DBD layer in Perl. Writing one generic set of code, programmers can
leverage the power of multiple databases and multiple simultaneous database
connections by using this framework.
Diffstat (limited to 'databases/libdbi')
-rw-r--r-- | databases/libdbi/DESCR | 4 | ||||
-rw-r--r-- | databases/libdbi/Makefile | 24 | ||||
-rw-r--r-- | databases/libdbi/Makefile_drivers | 25 | ||||
-rw-r--r-- | databases/libdbi/PLIST | 5 | ||||
-rw-r--r-- | databases/libdbi/buildlink3.mk | 12 | ||||
-rw-r--r-- | databases/libdbi/distinfo | 5 | ||||
-rw-r--r-- | databases/libdbi/distinfo_drivers | 5 |
7 files changed, 80 insertions, 0 deletions
diff --git a/databases/libdbi/DESCR b/databases/libdbi/DESCR new file mode 100644 index 00000000000..57d00f85cad --- /dev/null +++ b/databases/libdbi/DESCR @@ -0,0 +1,4 @@ +libdbi implements a database-independent abstraction layer in C, similar to +the DBI/DBD layer in Perl. Writing one generic set of code, programmers can +leverage the power of multiple databases and multiple simultaneous database +connections by using this framework. diff --git a/databases/libdbi/Makefile b/databases/libdbi/Makefile new file mode 100644 index 00000000000..8017619cec2 --- /dev/null +++ b/databases/libdbi/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $ +# + +DISTNAME= libdbi-0.8.3 +CATEGORIES= databases devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libdbi/} + +MAINTAINER= cheusov@tut.by +HOMEPAGE= http://libdbi.sourceforge.net/ +COMMENT= Database Independent Abstraction Layer for C +LICENSE= gnu-lgpl-v2 + +USE_LANGUAGES= c +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +PKG_DESTDIR_SUPPORT= user-destdir + +CONFIGURE_ARGS+= --disable-dependency-tracking +CONFIGURE_ARGS+= --disable-docs + +AUTO_MKDIRS= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/databases/libdbi/Makefile_drivers b/databases/libdbi/Makefile_drivers new file mode 100644 index 00000000000..cd22566ba5c --- /dev/null +++ b/databases/libdbi/Makefile_drivers @@ -0,0 +1,25 @@ +# $NetBSD: Makefile_drivers,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $ +# + +DISTNAME= libdbi-drivers-0.8.3-1 +PKGNAME= ${DISTNAME:S/libdbi-drivers/libdbi-driver-${DRIVER}/:S/-1/.1/:S/-2/.2/} +CATEGORIES= databases devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libdbi-drivers/} + +MAINTAINER= cheusov@tut.by +HOMEPAGE= http://libdbi-drivers.sourceforge.net/ + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LIBTOOL= yes +GNU_CONFIGURE= yes + +DISTINFO_FILE= ${.CURDIR}/../../databases/libdbi/distinfo_drivers +#PATCHDIR= ${.CURDIR}/../../databases/libdbi/patches_drivers + +INSTALLATION_DIRS+= lib/dbd + +CONFIGURE_ARGS+= --disable-dependency-tracking +CONFIGURE_ARGS+= --with-dbi-incdir=${BUILDLINK_PREFIX.libdbi}/include/dbi +CONFIGURE_ARGS+= --with-dbi-libdir=${BUILDLINK_PREFIX.libdbi}/lib +CONFIGURE_ARGS+= --disable-docs diff --git a/databases/libdbi/PLIST b/databases/libdbi/PLIST new file mode 100644 index 00000000000..b8a257d0c11 --- /dev/null +++ b/databases/libdbi/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $ +include/dbi/dbd.h +include/dbi/dbi-dev.h +include/dbi/dbi.h +lib/libdbi.la diff --git a/databases/libdbi/buildlink3.mk b/databases/libdbi/buildlink3.mk new file mode 100644 index 00000000000..fb782984cc8 --- /dev/null +++ b/databases/libdbi/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $ + +BUILDLINK_TREE+= libdbi + +.if !defined(LIBDBI_BUILDLINK3_MK) +LIBDBI_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libdbi+= libdbi>=0.8.3 +BUILDLINK_PKGSRCDIR.libdbi?= ../../databases/libdbi +.endif # LIBDBI_BUILDLINK3_MK + +BUILDLINK_TREE+= -libdbi diff --git a/databases/libdbi/distinfo b/databases/libdbi/distinfo new file mode 100644 index 00000000000..a2439e667c5 --- /dev/null +++ b/databases/libdbi/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $ + +SHA1 (libdbi-0.8.3.tar.gz) = bda606fa6628eed451e492182e1943bd1d824c33 +RMD160 (libdbi-0.8.3.tar.gz) = c264a9cf0ef85ccd823273a205a961b6e33773cf +Size (libdbi-0.8.3.tar.gz) = 1060714 bytes diff --git a/databases/libdbi/distinfo_drivers b/databases/libdbi/distinfo_drivers new file mode 100644 index 00000000000..10f3b726691 --- /dev/null +++ b/databases/libdbi/distinfo_drivers @@ -0,0 +1,5 @@ +$NetBSD: distinfo_drivers,v 1.1.1.1 2010/03/10 23:55:48 wiz Exp $ + +SHA1 (libdbi-drivers-0.8.3-1.tar.gz) = 599fbab115419e8fc88b3b31a38031584ee213b5 +RMD160 (libdbi-drivers-0.8.3-1.tar.gz) = e0aa9e67f6560fb44018b1d35d90d4ac21b48597 +Size (libdbi-drivers-0.8.3-1.tar.gz) = 1534420 bytes |