Magellan Linux

Contents of /smage/trunk/extras/drbd-utils/drbd-utils-9.8.0-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12961 - (show annotations) (download)
Tue Mar 12 11:54:30 2019 UTC (5 years, 1 month ago) by niro
File size: 928 byte(s)
-use prebuild man pages
1 # $Id$
2
3 PNAME="drbd-utils"
4 PVER="9.8.0"
5 PBUILD="r1"
6
7 PCAT="sys-fs"
8
9 DESCRIPTION="Userland tools for Distributed Replicated Block Device."
10 HOMEPAGE="https://www.drbd.org/"
11
12 DEPEND=">= app-shells/bash-4
13 >= dev-lang/perl-5"
14
15 SDEPEND=">= dev-libs/libxslt-1.1
16 >= app-text/docbook-xsl-stylesheets-1.76
17 >= dev-libs/libxslt-dev-1.1"
18
19 SRCFILE="${PNAME}-${PVER}.tar.gz"
20 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21
22 sminclude mbuild systemd
23
24 SRC_URI=(
25 mirror://${PNAME}/${SRCFILE}
26 https://www.linbit.com/downloads/drbd/utils/${SRCFILE}
27 )
28
29 UP2DATE="updatecmd https://www.linbit.com/downloads/drbd/utils/ | highesttarball gz"
30
31 src_compile()
32 {
33 cd ${SRCDIR}
34
35 mconfigure \
36 --with-distro=generic \
37 --without-bashcompletion \
38 --with-initscripttype=systemd \
39 --with-udev \
40 --without-rgmanager \
41 --without-pacemaker \
42 --without-heartbeat \
43 --without-83support \
44 --without-xen \
45 --with-prebuiltman \
46 || die
47
48 mmake || die
49 }
50