summaryrefslogtreecommitdiffstats
path: root/packages/dev-erlang/pgsql/pgsql.exlib
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-erlang/pgsql/pgsql.exlib')
-rw-r--r--packages/dev-erlang/pgsql/pgsql.exlib28
1 files changed, 28 insertions, 0 deletions
diff --git a/packages/dev-erlang/pgsql/pgsql.exlib b/packages/dev-erlang/pgsql/pgsql.exlib
new file mode 100644
index 0000000..d83a4c4
--- /dev/null
+++ b/packages/dev-erlang/pgsql/pgsql.exlib
@@ -0,0 +1,28 @@
+# Copyright 2011 Quentin "Sardem FF7" Glidic <sardemff7+exherbo@sardemff7.net>
+# Distributed under the terms of the GNU General Public License v2
+
+if ever is_scm; then
+ SCM_REPOSITORY="git://github.com/noss/pgsql.git"
+ require scm-git
+fi
+
+SLOT="0"
+
+HOMEPAGE="http://frihjul.net/pgsql"
+
+LICENCES="EPL-1.1"
+
+SUMMARY="Erlang postgres driver"
+
+DEPENDENCIES="
+ build+run:
+ dev-lang/erlang
+"
+
+MYOPTIONS=""
+
+src_prepare() {
+ edo sed -i \
+ -e "/^ERL_ROOT/s|/lib/|/${LIBDIR}/|" \
+ Makefile
+}