wok annotate perl-libjson/receipt @ rev 17575
Up: nano 2.3.6
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 07 21:34:36 2015 +0000 (2015-02-07) |
parents | |
children | 573d4c473481 |
rev | line source |
---|---|
pascal@17358 | 1 # SliTaz package receipt. |
pascal@17358 | 2 |
pascal@17358 | 3 PACKAGE="perl-libjson" |
pascal@17358 | 4 SOURCE="JSON" |
pascal@17358 | 5 VERSION="2.90" |
pascal@17358 | 6 CATEGORY="development" |
pascal@17358 | 7 SHORT_DESC="JSON (JavaScript Object Notation) encoder/decoder" |
pascal@17358 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17358 | 9 LICENSE="GPL" |
pascal@17358 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@17358 | 11 WEB_SITE="https://metacpan.org/release/JSON" |
pascal@17358 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/$TARBALL" |
pascal@17358 | 13 |
pascal@17358 | 14 # Rules to configure and make the package. |
pascal@17358 | 15 compile_rules() |
pascal@17358 | 16 { |
pascal@17358 | 17 perl Makefile.PL && |
pascal@17358 | 18 make && |
pascal@17358 | 19 make DESTDIR=$DESTDIR install |
pascal@17358 | 20 } |
pascal@17358 | 21 |
pascal@17358 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17358 | 23 genpkg_rules() |
pascal@17358 | 24 { |
pascal@17358 | 25 mkdir -p $fs/usr |
pascal@17358 | 26 cp -a $install/usr/lib $fs/usr |
pascal@17358 | 27 } |