summaryrefslogtreecommitdiff
path: root/databases/erlang-sqlite3
diff options
context:
space:
mode:
Diffstat (limited to 'databases/erlang-sqlite3')
-rw-r--r--databases/erlang-sqlite3/DESCR1
-rw-r--r--databases/erlang-sqlite3/Makefile31
-rw-r--r--databases/erlang-sqlite3/PLIST6
-rw-r--r--databases/erlang-sqlite3/distinfo6
4 files changed, 44 insertions, 0 deletions
diff --git a/databases/erlang-sqlite3/DESCR b/databases/erlang-sqlite3/DESCR
new file mode 100644
index 00000000000..81bae736988
--- /dev/null
+++ b/databases/erlang-sqlite3/DESCR
@@ -0,0 +1 @@
+This library allows you to work with SQLite3 databases from Erlang.
diff --git a/databases/erlang-sqlite3/Makefile b/databases/erlang-sqlite3/Makefile
new file mode 100644
index 00000000000..3ac43212943
--- /dev/null
+++ b/databases/erlang-sqlite3/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1 2015/11/04 13:45:45 fhajny Exp $
+
+DISTNAME= sqlite3-1.1.5.20150809
+PKGNAME= erlang-${DISTNAME:S/_/-/g}
+CATEGORIES= databases
+MASTER_SITES= ${MASTER_SITE_GITHUB:=alexeyr/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://github.com/alexeyr/erlang-sqlite3/
+COMMENT= Sqlite gen_server port for Erlang
+LICENSE= erlang-public-license
+
+BUILD_DEPENDS+= rebar-[0-9]*:../../devel/rebar
+
+GITHUB_PROJECT= erlang-sqlite3
+GITHUB_TAG= 8350dc603804c503f99c92bfd2eab1dd6885758e
+WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${GITHUB_TAG}
+
+NO_CONFIGURE= yes
+USE_TOOLS+= gmake pax
+
+MAKE_FILE= GNUmakefile
+INSTALLATION_DIRS+= lib/erlang/lib/sqlite3
+
+do-install:
+ cd ${WRKSRC} && ${PAX} -rw -pp ebin include priv \
+ ${DESTDIR}${PREFIX}/lib/erlang/lib/sqlite3/
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../lang/erlang/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/erlang-sqlite3/PLIST b/databases/erlang-sqlite3/PLIST
new file mode 100644
index 00000000000..4bdde3fc7db
--- /dev/null
+++ b/databases/erlang-sqlite3/PLIST
@@ -0,0 +1,6 @@
+@comment $NetBSD: PLIST,v 1.1 2015/11/04 13:45:45 fhajny Exp $
+lib/erlang/lib/sqlite3/ebin/sqlite3.app
+lib/erlang/lib/sqlite3/ebin/sqlite3.beam
+lib/erlang/lib/sqlite3/ebin/sqlite3_lib.beam
+lib/erlang/lib/sqlite3/include/sqlite3.hrl
+lib/erlang/lib/sqlite3/priv/sqlite3_drv.so
diff --git a/databases/erlang-sqlite3/distinfo b/databases/erlang-sqlite3/distinfo
new file mode 100644
index 00000000000..dc974eeafec
--- /dev/null
+++ b/databases/erlang-sqlite3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/11/04 13:45:45 fhajny Exp $
+
+SHA1 (sqlite3-1.1.5.20150809-8350dc603804c503f99c92bfd2eab1dd6885758e.tar.gz) = f6a635b1e19dbdc8616d67fa88cdfe001bfefc8f
+RMD160 (sqlite3-1.1.5.20150809-8350dc603804c503f99c92bfd2eab1dd6885758e.tar.gz) = 66dccc40ba96fc73ae89517faae0cc9b7320daeb
+SHA512 (sqlite3-1.1.5.20150809-8350dc603804c503f99c92bfd2eab1dd6885758e.tar.gz) = 18f95859adac8cc029e61e5ec103760b7d8674f6f4edaaecb4321cf82ebb37feb3db57f6bff96e4b077f3291794e33a1294bc0298a73d17689e89050e72e9d3e
+Size (sqlite3-1.1.5.20150809-8350dc603804c503f99c92bfd2eab1dd6885758e.tar.gz) = 1833272 bytes