wok-6.x annotate drbd-utils/receipt @ rev 24516

updated enet (1.3.14 -> 1.3.17)
author Hans-G?nter Theisgen
date Tue Feb 22 07:39:01 2022 +0100 (2022-02-22)
parents bfabe25c21ff
children
rev   line source
pascal@17467 1 # SliTaz package receipt.
pascal@17467 2
pascal@17467 3 PACKAGE="drbd-utils"
Hans-G?nter@24501 4 VERSION="9.20.2"
pascal@17467 5 CATEGORY="system-tools"
pascal@17467 6 SHORT_DESC="DRBD is a block device to build high availability clusters."
pascal@17467 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17467 8 LICENSE="GPL2"
Hans-G?nter@22658 9 WEB_SITE="https://www.linbit.com/en/drbd-community/"
Hans-G?nter@22658 10
pascal@17467 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@24501 12 WGET_URL="https://pkg.linbit.com/downloads/drbd/utils/$TARBALL"
pascal@17467 13
Hans-G?nter@22658 14 DEPENDS="gcc83-lib-base"
Hans-G?nter@24501 15 BUILD_DEPENDS="flex gcc83 libxslt udev-dev"
pascal@17467 16
pascal@24439 17 # What is the latest version available today?
pascal@24439 18 current_version()
pascal@24439 19 {
pascal@24439 20 wget -O - https://github.com/LINBIT/drbd-utils/tags 2>/dev/null | \
pascal@24439 21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24439 22 }
pascal@24439 23
pascal@17467 24 # Rules to configure and make the package.
pascal@17467 25 compile_rules()
pascal@17467 26 {
Hans-G?nter@22658 27 ./configure \
Hans-G?nter@22658 28 CC=gcc-83 \
Hans-G?nter@22658 29 CXX=g++-83 \
Hans-G?nter@22658 30 --prefix=/usr \
Hans-G?nter@22658 31 --sysconfdir=/etc \
Hans-G?nter@22658 32 --localstatedir=/var \
Hans-G?nter@22658 33 --with-systemdunitdir=none \
Hans-G?nter@22658 34 --with-prebuiltman \
Hans-G?nter@24501 35 $CONFIGURE_ARGS &&
Hans-G?nter@22662 36 make &&
Hans-G?nter@24501 37 make install DESTDIR=$DESTDIR
pascal@17467 38 }
pascal@17467 39
pascal@17467 40 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17467 41 genpkg_rules()
pascal@17467 42 {
Hans-G?nter@24501 43 cook_copy_folders etc
Hans-G?nter@24501 44 cook_copy_folders lib
Hans-G?nter@24501 45 cook_copy_folders sbin
Hans-G?nter@24501 46 cook_copy_folders var
pascal@17467 47 }