diff options
author | bouyer <bouyer@pkgsrc.org> | 2003-03-07 16:17:49 +0000 |
---|---|---|
committer | bouyer <bouyer@pkgsrc.org> | 2003-03-07 16:17:49 +0000 |
commit | 500d079d1edfd8684fd4a8cae4079178bbe85de2 (patch) | |
tree | 09c769ac12d208b8439b7bf9996c88c016687bc8 /databases | |
parent | c5b9bc391ca14fe13dd352dceefffd8dc5f0cece (diff) | |
download | pkgsrc-500d079d1edfd8684fd4a8cae4079178bbe85de2.tar.gz |
Import of tcl-fbsql 1.05, a Tcl interface module to MySQL.
Diffstat (limited to 'databases')
-rw-r--r-- | databases/tcl-fbsql/DESCR | 7 | ||||
-rw-r--r-- | databases/tcl-fbsql/Makefile | 28 | ||||
-rw-r--r-- | databases/tcl-fbsql/PLIST | 2 | ||||
-rw-r--r-- | databases/tcl-fbsql/distinfo | 4 | ||||
-rw-r--r-- | databases/tcl-fbsql/files/Makefile | 18 |
5 files changed, 59 insertions, 0 deletions
diff --git a/databases/tcl-fbsql/DESCR b/databases/tcl-fbsql/DESCR new file mode 100644 index 00000000000..3ff20c6fde0 --- /dev/null +++ b/databases/tcl-fbsql/DESCR @@ -0,0 +1,7 @@ +This Tcl extension provides access to MySQL database servers using simple Tcl +commands. + +I wrote this extension because my main Tcl application (fully integrated +accounting system) was requiring more flexibility than the current extensions +allowed, I also wanted to increase performance (I had too many wrapper +programs for performing basic queries). diff --git a/databases/tcl-fbsql/Makefile b/databases/tcl-fbsql/Makefile new file mode 100644 index 00000000000..338c7a3ab7e --- /dev/null +++ b/databases/tcl-fbsql/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/03/07 16:17:49 bouyer Exp $ + +DISTNAME= fbsql.c +PKGNAME= tcl-fbsql-1.05 +CATEGORIES= database +MASTER_SITES= http://www.fastbase.co.nz/fbsql/ +EXTRACT_SUFX= + +MAINTAINER= bouyer@netbsd.org +HOMEPAGE= http://www.fastbase.co.nz/fbsql/index.html +COMMENT= Tcl interface to MySQL + +USE_BUILDLINK2= YES +USE_LIBTOOL= YES + +WRKSRC= ${WRKDIR}/src + +do-extract: + ${MKDIR} ${WRKSRC} + ${CP} ${FILESDIR}/Makefile ${WRKSRC}/ + ${CP} ${_DISTDIR}/fbsql.c ${WRKSRC}/ + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/fbsql.so ${PREFIX}/lib/tcl/ + +.include "../../databases/mysql-client/buildlink2.mk" +.include "../../lang/tcl/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/databases/tcl-fbsql/PLIST b/databases/tcl-fbsql/PLIST new file mode 100644 index 00000000000..0c6cde3a8ca --- /dev/null +++ b/databases/tcl-fbsql/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2003/03/07 16:17:49 bouyer Exp $ +lib/tcl/fbsql.so diff --git a/databases/tcl-fbsql/distinfo b/databases/tcl-fbsql/distinfo new file mode 100644 index 00000000000..759d8cd3a42 --- /dev/null +++ b/databases/tcl-fbsql/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2003/03/07 16:17:49 bouyer Exp $ + +SHA1 (fbsql.c) = 58e0116bd09b30aaf028f33c7a3192e2b0047b67 +Size (fbsql.c) = 19615 bytes diff --git a/databases/tcl-fbsql/files/Makefile b/databases/tcl-fbsql/files/Makefile new file mode 100644 index 00000000000..0cfe1e287ef --- /dev/null +++ b/databases/tcl-fbsql/files/Makefile @@ -0,0 +1,18 @@ +MYSQLLIBDIR = ${PREFIX}/lib/mysql +MYSQLINCDIR = ${PREFIX}/include/mysql + +PIC = -fPIC +INCLUDES = -I${PREFIX}/include/tcl -I$(MYSQLINCDIR) +CFLAGS += -Wall $(PIC) $(INCLUDES) + +LDFLAGS = -lz $(MYSQLLIBDIR)/libmysqlclient.la + +all: fbsql.so + +fbsql.lo: fbsql.c + $(LIBTOOL) --mode=compile ${CC} ${CFLAGS} -c fbsql.c +fbsql.so: fbsql.lo + $(LIBTOOL) --mode=link ${CC} -shared -o $@ fbsql.lo $(LDFLAGS) + +clean: + -rm -f core *.o fbsql.so |