summaryrefslogtreecommitdiffstats
path: root/packages/net-misc/mozilla-sync/mozilla-sync-scm.exheres-0
blob: 4692d17ed244baeeec7defacffcbb86d6850173e (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

SCM_REPOSITORY="https://hg.mozilla.org/services/server-full"


require scm-hg distutils


SLOT="0"

PLATFORMS="~amd64"

DEPENDENCIES="
    build:
        dev-python/setuptools
    run:
        group/weave
        user/weave
        apache? ( apache-mod/mod_wsgi )
        dev-python/Beaker
        dev-python/cef
        dev-python/Mako
        dev-python/MarkupSafe
        dev-python/Paste
        dev-python/PasteDeploy
        dev-python/PasteScript
        dev-python/python-memcached
        dev-python/recaptcha-client
        dev-python/Routes
        dev-python/simplejson
        dev-python/SQLAlchemy
        dev-python/WebOb
        dev-python/WSGIProxy
        net-misc/mozilla-sync-core
        net-misc/mozilla-sync-reg
        net-misc/mozilla-sync-storage
"

MYOPTIONS="apache"


src_install() {
    distutils_src_install

    insinto /usr/share/doc/${PNVR}/conf
    doins "${FILES}"/SyncServer.ini.example
    edo pushd "${WORK}"/etc
    for f in *.conf; do
        doins ${f}
    done
    edo popd

    insinto /usr/share/${PN}
    doins "${FILES}"/SyncServer.wsgi

    keepdir /etc/${PN}

    keepdir /var/lib/weave
}