wok diff lvmts/receipt @ rev 13601

pdns: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 10 13:54:41 2012 +0100 (2012-11-10)
parents
children d1d3baac286f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lvmts/receipt	Sat Nov 10 13:54:41 2012 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lvmts"
     1.7 +GITHASH="aa722606e6dbdf6c15eb8b9294ad789814592c18"
     1.8 +VERSION=${GITHASH:0:7}
     1.9 +CATEGORY="system-tools"
    1.10 +SHORT_DESC="Hierarchical Storage Manager utilizing LVM."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/tomato42/lvmts/"
    1.14 +WGET_URL="https://nodeload.github.com/tomato42/lvmts/tarball/$GITHASH"
    1.15 +
    1.16 +DEPENDS="lvm blktrace libconfuse"
    1.17 +BUILD_DEPENDS="wget lvm2-dev libconfuse"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	make && 
    1.24 +	for i in lvmtscd lvmtscat lvmls lvmtsd lvmdefrag ; do
    1.25 +		install -D -m 755 $i $DESTDIR/usr/sbin/$i
    1.26 +	done
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.30 +genpkg_rules()                                      
    1.31 +{
    1.32 +	cp -a $install/* $fs
    1.33 +}
    1.34 +