wok-6.x view lvmts/receipt @ rev 25461
foobillardplus: add LDFLAGS for -Wl,--copy-dt-needed-entries
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 09:44:06 2022 +0000 (2022-09-28) |
parents | 89c8d8b6cf48 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lvmts"
4 GITHASH="aa722606e6dbdf6c15eb8b9294ad789814592c18" # 20120822
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/tar.gz/$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 }