wok-6.x annotate perl-json-pp/receipt @ rev 21033
updated hdparm (9.37 -> 9.58)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 11 13:14:36 2019 +0100 (2019-03-11) |
parents | |
children | 2c0ff3a9d1f1 |
rev | line source |
---|---|
pascal@20469 | 1 # SliTaz package receipt. |
pascal@20469 | 2 |
pascal@20469 | 3 PACKAGE="perl-json-pp" |
pascal@20469 | 4 VERSION="2.97001" |
pascal@20469 | 5 CATEGORY="development" |
pascal@20469 | 6 SHORT_DESC="JSON::PP module is a Perl extension." |
pascal@20469 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20469 | 8 LICENSE="GPL" |
pascal@20469 | 9 DEPENDS="perl" |
pascal@20469 | 10 BUILD_DEPENDS="perl" |
pascal@20469 | 11 SOURCE="JSON-PP" |
pascal@20469 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20469 | 13 WEB_SITE="http://cpan.org/" |
pascal@20469 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/$TARBALL" |
pascal@20469 | 15 |
pascal@20469 | 16 # Rules to configure and make the package. |
pascal@20469 | 17 compile_rules() |
pascal@20469 | 18 { |
pascal@20469 | 19 perl Makefile.PL && |
pascal@20469 | 20 make && |
pascal@20469 | 21 make DESTDIR=$DESTDIR install |
pascal@20469 | 22 } |
pascal@20469 | 23 |
pascal@20469 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20469 | 25 genpkg_rules() |
pascal@20469 | 26 { |
pascal@20469 | 27 mkdir -p $fs/usr |
pascal@20469 | 28 cp -a $install/usr/lib $fs/usr |
pascal@20469 | 29 } |