wok annotate lvmts/receipt @ rev 18247
Up slitaz-boot-scripts (406)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 01 15:09:36 2015 +0200 (2015-08-01) |
parents | d1d3baac286f |
children | 89c8d8b6cf48 |
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@15308 | 9 LICENSE="GPL3" |
pascal@13591 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13591 | 11 WEB_SITE="https://github.com/tomato42/lvmts/" |
pascal@13591 | 12 WGET_URL="https://nodeload.github.com/tomato42/lvmts/tarball/$GITHASH" |
pascal@13591 | 13 |
pascal@17482 | 14 DEPENDS="lvm2 blktrace libconfuse" |
pascal@13591 | 15 BUILD_DEPENDS="wget lvm2-dev libconfuse" |
pascal@13591 | 16 |
pascal@13591 | 17 # Rules to configure and make the package. |
pascal@13591 | 18 compile_rules() |
pascal@13591 | 19 { |
pascal@13591 | 20 cd $src |
pascal@15308 | 21 make -j 1 && |
pascal@13591 | 22 for i in lvmtscd lvmtscat lvmls lvmtsd lvmdefrag ; do |
pascal@13591 | 23 install -D -m 755 $i $DESTDIR/usr/sbin/$i |
pascal@13591 | 24 done |
pascal@13591 | 25 } |
pascal@13591 | 26 |
pascal@13591 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 28 genpkg_rules() |
pascal@13591 | 29 { |
pascal@13591 | 30 cp -a $install/* $fs |
pascal@13591 | 31 } |
pascal@13591 | 32 |