summaryrefslogtreecommitdiffstats
path: root/packages/dev-erlang/pgsql/pgsql.exlib
blob: d83a4c46b6893a993a7b8f73e6e544e70bd3e0aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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
}