wok view lvmts/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 9689f1b75619 |
children | 4e4d5f129bd1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lvmts"
4 GITHASH="aa722606e6dbdf6c15eb8b9294ad789814592c18"
5 VERSION=${GITHASH:0:7}
6 CATEGORY="system-tools"
7 SHORT_DESC="Hierarchical Storage Manager utilizing LVM."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="https://github.com/tomato42/lvmts/"
12 WGET_URL="https://nodeload.github.com/tomato42/lvmts/tarball/$GITHASH"
14 DEPENDS="lvm2 blktrace libconfuse"
15 BUILD_DEPENDS="wget lvm2-dev libconfuse"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
21 sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 make -j 1 &&
29 for i in lvmtscd lvmtscat lvmls lvmtsd lvmdefrag ; do
30 install -D -m 755 $i $DESTDIR/usr/sbin/$i
31 done
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cp -a $install/* $fs
38 }