wok-6.x diff perl-class-singleton/receipt @ rev 19742
lua-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 18 14:00:56 2017 +0100 (2017-02-18) |
parents | |
children | 6e8b1bcb30e2 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-class-singleton/receipt Sat Feb 18 14:00:56 2017 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="perl-class-singleton" 1.7 +VERSION="1.5" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Class::Singleton is a perl module" 1.10 +MAINTAINER="nneul@neulinger.org" 1.11 +LICENSE="GPL" 1.12 +WEB_SITE="http://search.cpan.org/dist/Class-Singleton" 1.13 +SOURCE="Class-Singleton" 1.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 +WGET_URL="http://www.cpan.org/authors/id/S/SH/SHAY/$TARBALL" 1.16 + 1.17 +DEPENDS="perl" 1.18 +BUILD_DEPENDS="$DEPENDS" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + perl Makefile.PL && 1.25 + make && 1.26 + make DESTDIR=$DESTDIR install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + cp -a $install/usr $fs 1.33 +}