wok view drbd-utils/receipt @ rev 24084
libjson-c-dev: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 13:06:31 2021 +0000 (2021-07-10) |
parents | 880ba93cb01e |
children | bfabe25c21ff |
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 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs/
38 }