wok-6.x annotate drbd-utils/receipt @ rev 22749
Up libcomerr (1.44.5)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 24 12:15:02 2020 +0100 (2020-01-24) |
parents | 880ba93cb01e |
children | bfabe25c21ff |
rev | line source |
---|---|
pascal@17467 | 1 # SliTaz package receipt. |
pascal@17467 | 2 |
pascal@17467 | 3 PACKAGE="drbd-utils" |
Hans-G?nter@22658 | 4 VERSION="9.11.0" |
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@22658 | 12 WGET_URL="https://www.linbit.com/downloads/drbd/utils/$TARBALL" |
pascal@17467 | 13 |
Hans-G?nter@22658 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@22661 | 15 BUILD_DEPENDS="autoconf automake flex gcc83 libxslt udev-dev" |
pascal@17467 | 16 |
pascal@17467 | 17 # Rules to configure and make the package. |
pascal@17467 | 18 compile_rules() |
pascal@17467 | 19 { |
Hans-G?nter@22659 | 20 ./autogen.sh && |
Hans-G?nter@22658 | 21 ./configure \ |
Hans-G?nter@22658 | 22 CC=gcc-83 \ |
Hans-G?nter@22658 | 23 CXX=g++-83 \ |
Hans-G?nter@22658 | 24 --prefix=/usr \ |
Hans-G?nter@22658 | 25 --sysconfdir=/etc \ |
Hans-G?nter@22658 | 26 --localstatedir=/var \ |
Hans-G?nter@22658 | 27 --with-systemdunitdir=none \ |
Hans-G?nter@22658 | 28 --with-prebuiltman \ |
Hans-G?nter@22662 | 29 $CONFIGURE_ARGS |
Hans-G?nter@22662 | 30 make && |
pascal@17467 | 31 make DESTDIR=$DESTDIR install |
pascal@17467 | 32 } |
pascal@17467 | 33 |
pascal@17467 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17467 | 35 genpkg_rules() |
pascal@17467 | 36 { |
Hans-G?nter@22658 | 37 cp -a $install/* $fs/ |
pascal@17467 | 38 } |