9 |
DESCRIPTION="Userland tools for Distributed Replicated Block Device." |
DESCRIPTION="Userland tools for Distributed Replicated Block Device." |
10 |
HOMEPAGE="https://www.drbd.org/" |
HOMEPAGE="https://www.drbd.org/" |
11 |
|
|
12 |
DEPEND=">= virtual/glibc |
DEPEND=">= app-shells/bash-4 |
13 |
>= sys-libs/libuuid-2.30" |
>= dev-lang/perl-5" |
14 |
|
|
15 |
|
SDEPEND=">= dev-libs/libxslt-1.1 |
16 |
|
>= dev-libs/libxslt-dev-1.1" |
17 |
|
|
18 |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
SRCFILE="${PNAME}-${PVER}.tar.gz" |
19 |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
20 |
|
|
21 |
sminclude mbuild |
sminclude mbuild systemd |
22 |
|
|
23 |
SRC_URI=( |
SRC_URI=( |
24 |
mirror://${PNAME}/${SRCFILE} |
mirror://${PNAME}/${SRCFILE} |
26 |
) |
) |
27 |
|
|
28 |
UP2DATE="updatecmd https://www.linbit.com/downloads/drbd/utils/ | highesttarball gz" |
UP2DATE="updatecmd https://www.linbit.com/downloads/drbd/utils/ | highesttarball gz" |
29 |
|
|
30 |
|
src_compile() |
31 |
|
{ |
32 |
|
cd ${SRCDIR} |
33 |
|
|
34 |
|
mconfigure \ |
35 |
|
--with-distro=generic \ |
36 |
|
--without-bashcompletion \ |
37 |
|
--with-initscripttype=systemd \ |
38 |
|
--with-udev \ |
39 |
|
--without-rgmanager \ |
40 |
|
--without-pacemaker \ |
41 |
|
--without-heartbeat \ |
42 |
|
--without-83support \ |
43 |
|
--without-xen \ |
44 |
|
|| die |
45 |
|
|
46 |
|
mmake || die |
47 |
|
} |
48 |
|
|