A Go interface for SQLite3, modelled after the C interface.

WWW: http://kuroneko.github.com/gosqlite3/

Submitted by:	Zhihao Yuan <lichray@gmail.com> (via email)
This commit is contained in:
Wen Heping 2011-04-14 00:56:10 +00:00
parent a4eccde1aa
commit 803c8aa1c5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272695
4 changed files with 35 additions and 0 deletions

View file

@ -107,6 +107,7 @@
SUBDIR += gnatsweb4
SUBDIR += gnome-db
SUBDIR += gomysql
SUBDIR += gosqlite3
SUBDIR += gqlplus
SUBDIR += grass
SUBDIR += gtksql

View file

@ -0,0 +1,29 @@
# New ports collection makefile for: gosqlite3
# Date created: Apr 11, 2011
# Whom: Zhihao Yuan <lichray@gmail.com>
#
# $FreeBSD$
#
PORTNAME= gosqlite3
PORTVERSION= 20110316
CATEGORIES= databases
MASTER_SITES= LOCAL/wen
DISTNAME= ${GITHUB_USER}-${PORTNAME}-${GIT_REVISION}
MAINTAINER= lichray@gmail.com
COMMENT= A Go interface for SQLite3
LIB_DEPENDS+= sqlite3:${PORTSDIR}/databases/sqlite3
PLIST_FILES= ${GO_LIBDIR}/sqlite3.a
USE_GO= yes
MAKE_ARGS+= CGO_CFLAGS+="-I${LOCALBASE}/include" CFLAGS="-I${LOCALBASE}/${GO_LIBDIR}" CGO_LDFLAGS="-L${LOCALBASE}/lib -lsqlite3"
GITHUB_USER= feyeleanor
GIT_REVISION= 0f3e536
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>

View file

@ -0,0 +1,2 @@
SHA256 (feyeleanor-gosqlite3-0f3e536.tar.gz) = 8f6f538846865e6d9e317e5deb30e1c7418f589a8e6c325e53f242678c84d811
SIZE (feyeleanor-gosqlite3-0f3e536.tar.gz) = 7125

View file

@ -0,0 +1,3 @@
A Go interface for SQLite3, modelled after the C interface.
WWW: http://kuroneko.github.com/gosqlite3/