wok-current diff perl-yaml/receipt @ rev 20376

nagios: update patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 13 10:34:15 2018 +0200 (2018-06-13)
parents bd18cd8fd306
children 6e8b1bcb30e2
line diff
     1.1 --- a/perl-yaml/receipt	Sat Nov 27 18:01:19 2010 +0000
     1.2 +++ b/perl-yaml/receipt	Wed Jun 13 10:34:15 2018 +0200
     1.3 @@ -5,6 +5,7 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="Perl/CPAN Module YAML : YAML Aint Markup Language tm"
     1.6  MAINTAINER="slaxemulator@gmail.com"
     1.7 +LICENSE="GPL"
     1.8  DEPENDS="perl"
     1.9  BUILD_DEPENDS="perl"
    1.10  SOURCE="YAML"
    1.11 @@ -18,14 +19,14 @@
    1.12  	cd $src
    1.13  	perl Makefile.PL &&
    1.14  	make && 
    1.15 -	make DESTDIR=$PWD/_pkg install
    1.16 +	make DESTDIR=$DESTDIR install
    1.17  }
    1.18  
    1.19  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.20  genpkg_rules()
    1.21  {
    1.22  	mkdir -p $fs/usr
    1.23 -	cp -a $_pkg/usr/lib $fs/usr
    1.24 +	cp -a $install/usr/lib $fs/usr
    1.25  	# remove perllocal.pod and .packlist
    1.26  	find ${fs} -name perllocal.pod -delete
    1.27  	find ${fs} -name .packlist -delete