wok-current view drbd-utils/receipt @ rev 22662
updated drbd-utils again (8.9.1 -> 9.11.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 08:53:50 2020 +0100 (2020-01-17) |
parents | 7e32d0d8054d |
children | dab616728814 |
line source
1 # SliTaz package receipt.
3 PACKAGE="drbd-utils"
4 VERSION="9.11.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="DRBD is a block device to build high availability clusters."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.linbit.com/en/drbd-community/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://www.linbit.com/downloads/drbd/utils/$TARBALL"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="autoconf automake flex gcc83 libxslt udev-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh &&
21 ./configure \
22 CC=gcc-83 \
23 CXX=g++-83 \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --with-systemdunitdir=none \
28 --with-prebuiltman \
29 $CONFIGURE_ARGS
30 cd ${src}/user/shared/ &&
31 mv drbd_buildtag.h.new drbd_buildtag.h
32 cd $src
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs/
41 }