wok view drbd-utils/receipt @ rev 25514
Add memtest64
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 14:18:05 2023 +0000 (21 months ago) |
parents | bfabe25c21ff |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="drbd-utils"
4 VERSION="9.20.2"
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://pkg.linbit.com/downloads/drbd/utils/$TARBALL"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="flex gcc83 libxslt udev-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/LINBIT/drbd-utils/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 CC=gcc-83 \
29 CXX=g++-83 \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 --localstatedir=/var \
33 --with-systemdunitdir=none \
34 --with-prebuiltman \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install DESTDIR=$DESTDIR
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders etc
44 cook_copy_folders lib
45 cook_copy_folders sbin
46 cook_copy_folders var
47 }