wok-current annotate drbd-utils/receipt @ rev 20232
Up slitaz-boot-scripts (450), slitaz-configs (316)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 05 11:05:36 2018 +0100 (2018-03-05) |
parents | 15c819480588 |
children | afd8470bb0cb |
rev | line source |
---|---|
pascal@17467 | 1 # SliTaz package receipt. |
pascal@17467 | 2 |
pascal@17467 | 3 PACKAGE="drbd-utils" |
pascal@17467 | 4 VERSION="8.9.1" |
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" |
pascal@17467 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17467 | 10 WEB_SITE="http://drbd.linbit.com/" |
pascal@17467 | 11 WGET_URL="http://oss.linbit.com/drbd/$TARBALL" |
pascal@17467 | 12 |
pascal@18419 | 13 BUILD_DEPENDS="flex libxslt" |
pascal@17467 | 14 |
pascal@17467 | 15 # Rules to configure and make the package. |
pascal@17467 | 16 compile_rules() |
pascal@17467 | 17 { |
pascal@17467 | 18 ./configure --prefix=/usr \ |
pascal@17467 | 19 --sysconfdir=/etc \ |
pascal@17467 | 20 --localstatedir=/var \ |
pascal@17467 | 21 $CONFIGURE_ARGS && |
pascal@17467 | 22 make && |
pascal@17467 | 23 make DESTDIR=$DESTDIR install |
pascal@17467 | 24 } |
pascal@17467 | 25 |
pascal@17467 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17467 | 27 genpkg_rules() |
pascal@17467 | 28 { |
pascal@17467 | 29 cp -a $install/* $fs/ |
pascal@17467 | 30 } |