Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12961 - (hide annotations) (download)
Tue Mar 12 11:54:30 2019 UTC (5 years, 2 months ago) by niro
File size: 928 byte(s)
-use prebuild man pages
1 niro 12958 # $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 niro 12959 DEPEND=">= app-shells/bash-4
13     >= dev-lang/perl-5"
14 niro 12958
15 niro 12959 SDEPEND=">= dev-libs/libxslt-1.1
16 niro 12960 >= app-text/docbook-xsl-stylesheets-1.76
17 niro 12959 >= dev-libs/libxslt-dev-1.1"
18    
19 niro 12958 SRCFILE="${PNAME}-${PVER}.tar.gz"
20     SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
21    
22 niro 12959 sminclude mbuild systemd
23 niro 12958
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 niro 12959
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 niro 12961 --with-prebuiltman \
46 niro 12959 || die
47    
48     mmake || die
49     }
50