SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "lvmts"

# SliTaz package receipt.

PACKAGE="lvmts"
GITHASH="aa722606e6dbdf6c15eb8b9294ad789814592c18"    # 20120822
VERSION=${GITHASH:0:7}
CATEGORY="system-tools"
SHORT_DESC="Hierarchical Storage Manager utilizing LVM."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/tomato42/lvmts/"
WGET_URL="https://nodeload.github.com/tomato42/lvmts/tar.gz/$GITHASH"

DEPENDS="lvm2 blktrace libconfuse"
BUILD_DEPENDS="wget lvm2-dev libconfuse"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE/commits/master 2>/dev/null | \
    sed '/commits_list_item/!d;s|.*commits/\(.......\).*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    make -j 1 && 
    for i in lvmtscd lvmtscat lvmls lvmtsd lvmdefrag ; do
        install -D -m 755 $i $DESTDIR/usr/sbin/$i
    done
}

# Rules to gen a SliTaz package suitable for Tazpkg.   
genpkg_rules()                                      
{
    cp -a $install/* $fs
}

6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)