wok-current annotate lvmts/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 89c8d8b6cf48 |
children |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="lvmts" |
pascal@25059 | 4 GITHASH="aa722606e6dbdf6c15eb8b9294ad789814592c18" # 20120822 |
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@25059 | 12 WGET_URL="https://nodeload.github.com/tomato42/lvmts/tar.gz/$GITHASH" |
pascal@13591 | 13 |
pascal@17482 | 14 DEPENDS="lvm2 blktrace libconfuse" |
pascal@13591 | 15 BUILD_DEPENDS="wget lvm2-dev libconfuse" |
pascal@13591 | 16 |
pascal@24476 | 17 # What is the latest version available today? |
pascal@24476 | 18 current_version() |
pascal@24476 | 19 { |
pascal@24476 | 20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \ |
pascal@24476 | 21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q' |
pascal@24476 | 22 } |
pascal@24476 | 23 |
pascal@13591 | 24 # Rules to configure and make the package. |
pascal@13591 | 25 compile_rules() |
pascal@13591 | 26 { |
pascal@13591 | 27 cd $src |
pascal@15308 | 28 make -j 1 && |
pascal@13591 | 29 for i in lvmtscd lvmtscat lvmls lvmtsd lvmdefrag ; do |
pascal@13591 | 30 install -D -m 755 $i $DESTDIR/usr/sbin/$i |
pascal@13591 | 31 done |
pascal@13591 | 32 } |
pascal@13591 | 33 |
pascal@13591 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 35 genpkg_rules() |
pascal@13591 | 36 { |
pascal@13591 | 37 cp -a $install/* $fs |
pascal@13591 | 38 } |
pascal@13591 | 39 |