summaryrefslogtreecommitdiff
path: root/databases/erlang-sqlite3/Makefile
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2015-11-04 13:45:44 +0000
committerfhajny <fhajny@pkgsrc.org>2015-11-04 13:45:44 +0000
commit43a34d1291779f49a7bc245ccf25f1cd7b98e009 (patch)
treefafd632e46e4178036f90e914826c029af9b9e06 /databases/erlang-sqlite3/Makefile
parent8d9f4595740b0c7db24783c715e86f8ee4836991 (diff)
downloadpkgsrc-43a34d1291779f49a7bc245ccf25f1cd7b98e009.tar.gz
Import 20 Erlang module packages that will work as dependencies
in the ejabberd 15.10 update that follows.
Diffstat (limited to 'databases/erlang-sqlite3/Makefile')
-rw-r--r--databases/erlang-sqlite3/Makefile31
1 files changed, 31 insertions, 0 deletions
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"