wok diff perl-json-pp/receipt @ rev 22390
Up crosstool-ng (1.24.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 29 12:50:55 2019 +0100 (2019-11-29) |
parents | |
children | 2c0ff3a9d1f1 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-json-pp/receipt Fri Nov 29 12:50:55 2019 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="perl-json-pp" 1.7 +VERSION="2.97001" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="JSON::PP module is a Perl extension." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL" 1.12 +DEPENDS="perl" 1.13 +BUILD_DEPENDS="perl" 1.14 +SOURCE="JSON-PP" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WEB_SITE="http://cpan.org/" 1.17 +WGET_URL="https://cpan.metacpan.org/authors/id/I/IS/ISHIGAKI/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + perl Makefile.PL && 1.23 + make && 1.24 + make DESTDIR=$DESTDIR install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr 1.31 + cp -a $install/usr/lib $fs/usr 1.32 +}