wok-next diff perl-math-round/receipt @ rev 20644

Up clutter-gtk (1.8.4), clutter, add clutter-gst, colord-gtk.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 01 17:41:04 2018 +0300 (2018-05-01)
parents 2d12ebd38be4
children 4e6503d7a19f
line diff
     1.1 --- a/perl-math-round/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-math-round/receipt	Tue May 01 17:41:04 2018 +0300
     1.3 @@ -1,15 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-math-round"
     1.7 -VERSION="0.06"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Perl extension for rounding numbers"
    1.10 +VERSION="0.07"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="Math::Round - Perl extension for rounding numbers"
    1.13  MAINTAINER="slaxemulator@gmail.com"
    1.14  LICENSE="GPL"
    1.15 -WEB_SITE="http://search.cpan.org/dist/Math-Round"
    1.16 -SOURCE="Math-Round"
    1.17 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.18 -WGET_URL="http://www.cpan.org/authors/id/G/GR/GROMMEL/$TARBALL"
    1.19 +WEB_SITE="https://metacpan.org/release/Math-Round"
    1.20 +
    1.21 +TARBALL="Math-Round-$VERSION.tar.gz"
    1.22 +WGET_URL="https://cpan.metacpan.org/authors/id/G/GR/GROMMEL/$TARBALL"
    1.23  
    1.24  DEPENDS="perl"
    1.25  BUILD_DEPENDS="perl"
    1.26 @@ -17,14 +17,15 @@
    1.27  # Rules to configure and make the package.
    1.28  compile_rules()
    1.29  {
    1.30 -	cd $src
    1.31  	perl Makefile.PL &&
    1.32 -	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	make && make DESTDIR=$install install &&
    1.35 +
    1.36 +	chmod -R u+w $install &&
    1.37 +	find $install -type f -exec dos2unix '{}' \;
    1.38  }
    1.39  
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	cp -a $install/usr $fs
    1.44 +	copy @std
    1.45  }