wok-next diff puppet/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents efc1e4b02968
children d5aab818505e
line diff
     1.1 --- a/puppet/receipt	Sat Aug 18 16:19:00 2018 +0300
     1.2 +++ b/puppet/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,22 +1,19 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="puppet"
     1.8  VERSION="2.7.19"
     1.9  CATEGORY="system-tools"
    1.10 -SHORT_DESC="A system for automating system administration tasks."
    1.11 +SHORT_DESC="A system for automating system administration tasks"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="Apache"
    1.14 +WEB_SITE="http://www.puppetlabs.com/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.puppetlabs.com/"
    1.18  WGET_URL="http://downloads.puppetlabs.com/puppet/$TARBALL"
    1.19  
    1.20 -DEPENDS="ruby ruby-facter"
    1.21  BUILD_DEPENDS="ruby-dev ruby-facter"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 -	cd $src
    1.27 +compile_rules() {
    1.28  	ruby ./install.rb \
    1.29  		--destdir=$DESTDIR \
    1.30  		--bindir=/usr/bin \
    1.31 @@ -24,12 +21,11 @@
    1.32  		--mandir=/usr/share/man
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 +genpkg_rules() {
    1.39  	mkdir -p $fs/usr
    1.40  	cp -a $install/etc $fs
    1.41  	cp -a $install/usr/*bin $fs/usr
    1.42  	cp -a $install/usr/lib $fs/usr
    1.43  	cd $fs/usr/bin && mv pi puppet-pi
    1.44 +	DEPENDS="ruby ruby-facter"
    1.45  }