wok annotate lvmts/receipt @ rev 13601

pdns: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 10 13:54:41 2012 +0100 (2012-11-10)
parents
children d1d3baac286f
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="lvmts"
pascal@13591 4 GITHASH="aa722606e6dbdf6c15eb8b9294ad789814592c18"
pascal@13591 5 VERSION=${GITHASH:0:7}
pascal@13591 6 CATEGORY="system-tools"
pascal@13591 7 SHORT_DESC="Hierarchical Storage Manager utilizing LVM."
pascal@13591 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@13591 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13591 10 WEB_SITE="https://github.com/tomato42/lvmts/"
pascal@13591 11 WGET_URL="https://nodeload.github.com/tomato42/lvmts/tarball/$GITHASH"
pascal@13591 12
pascal@13591 13 DEPENDS="lvm blktrace libconfuse"
pascal@13591 14 BUILD_DEPENDS="wget lvm2-dev libconfuse"
pascal@13591 15
pascal@13591 16 # Rules to configure and make the package.
pascal@13591 17 compile_rules()
pascal@13591 18 {
pascal@13591 19 cd $src
pascal@13591 20 make &&
pascal@13591 21 for i in lvmtscd lvmtscat lvmls lvmtsd lvmdefrag ; do
pascal@13591 22 install -D -m 755 $i $DESTDIR/usr/sbin/$i
pascal@13591 23 done
pascal@13591 24 }
pascal@13591 25
pascal@13591 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 27 genpkg_rules()
pascal@13591 28 {
pascal@13591 29 cp -a $install/* $fs
pascal@13591 30 }
pascal@13591 31