wok-next diff perl-jcode/receipt @ rev 20348

ploticus (2.42)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 18 17:19:51 2017 +0100 (2017-11-18)
parents 2d12ebd38be4
children 4e6503d7a19f
line diff
     1.1 --- a/perl-jcode/receipt	Fri Jun 07 18:46:07 2013 +0200
     1.2 +++ b/perl-jcode/receipt	Sat Nov 18 17:19:51 2017 +0100
     1.3 @@ -2,30 +2,29 @@
     1.4  
     1.5  PACKAGE="perl-jcode"
     1.6  VERSION="2.07"
     1.7 -CATEGORY="development"
     1.8 -SHORT_DESC="Jcode module is a Perl extension."
     1.9 +CATEGORY="perl"
    1.10 +SHORT_DESC="Jcode - Japanese Charset Handler"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL"
    1.13 +WEB_SITE="https://metacpan.org/release/Jcode"
    1.14 +
    1.15 +TARBALL="Jcode-$VERSION.tar.gz"
    1.16 +WGET_URL="https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/$TARBALL"
    1.17 +
    1.18  DEPENDS="perl"
    1.19  BUILD_DEPENDS="perl"
    1.20 -SOURCE="Jcode"
    1.21 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.22 -WEB_SITE="http://cpan.org/"
    1.23 -WGET_URL="http://cpan.org/authors/id/D/DA/DANKOGAI/$TARBALL"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	perl Makefile.PL
    1.30 -	make
    1.31 -	make DESTDIR=$DESTDIR install
    1.32 +	perl Makefile.PL &&
    1.33 +	make && make DESTDIR=$install install &&
    1.34 +
    1.35 +	chmod -R u+w $install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr
    1.42 -	cp -a $install/usr/lib $fs/usr
    1.43 +	copy @std
    1.44  }
    1.45 -