wok-next diff perl-file-basedir/receipt @ rev 20637

ghostscript: update (b)deps (avoid jpeg / libjpeg-turbo to be in the same package)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 16:32:16 2018 +0300 (2018-04-27)
parents 2d12ebd38be4
children 44d2daaccb67
line diff
     1.1 --- a/perl-file-basedir/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-file-basedir/receipt	Fri Apr 27 16:32:16 2018 +0300
     1.3 @@ -1,31 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="perl-file-basedir"
     1.7 -VERSION="0.03"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="File::BaseDir module is a Perl extension."
    1.10 +VERSION="0.07"
    1.11 +CATEGORY="perl"
    1.12 +SHORT_DESC="File::BaseDir - Use the Freedesktop.org base directory \
    1.13 +specification"
    1.14  MAINTAINER="paul@slitaz.org"
    1.15  LICENSE="GPL"
    1.16 -DEPENDS="perl"
    1.17 -BUILD_DEPENDS="perl"
    1.18 -SOURCE="File-BaseDir"
    1.19 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.20 -WEB_SITE="http://cpan.org/"
    1.21 -WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PA/PARDUS/$TARBALL"
    1.22 +WEB_SITE="https://metacpan.org/release/File-BaseDir"
    1.23 +
    1.24 +TARBALL="File-BaseDir-$VERSION.tar.gz"
    1.25 +WGET_URL="https://cpan.metacpan.org/authors/id/K/KI/KIMRYAN/$TARBALL"
    1.26 +
    1.27 +DEPENDS="perl-ipc-system-simple"
    1.28 +BUILD_DEPENDS="$DEPENDS perl-module-build perl-file-which"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32  {
    1.33 -	cd $src
    1.34  	perl Makefile.PL &&
    1.35 -	make &&
    1.36 -	make DESTDIR=$DESTDIR install
    1.37 +	make && make DESTDIR=$install install &&
    1.38 +
    1.39 +	chmod -R u+w $install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/usr
    1.46 -	cp -a $install/usr/lib $fs/usr
    1.47 +	copy @std
    1.48  }
    1.49 -