# HG changeset patch # User Pascal Bellard # Date 1419617374 -3600 # Node ID 15c8194805885d4ec14a736a76f01d54faed58ed # Parent 8b7008c000ebcdee237feece4e5a5a0169b3baff Add drbd-utils diff -r 8b7008c000eb -r 15c819480588 drbd-utils/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/drbd-utils/receipt Fri Dec 26 19:09:34 2014 +0100 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="drbd-utils" +VERSION="8.9.1" +CATEGORY="system-tools" +SHORT_DESC="DRBD is a block device to build high availability clusters." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://drbd.linbit.com/" +WGET_URL="http://oss.linbit.com/drbd/$TARBALL" + +BUILD_DEPENDS="flex" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs/ +}