wok view perl-class-singleton/receipt @ rev 20235

busybox: add arch (uname -m alias)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 15:52:59 2018 +0100 (2018-03-05)
parents
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-class-singleton"
4 VERSION="1.5"
5 CATEGORY="development"
6 SHORT_DESC="Class::Singleton is a perl module"
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="GPL"
9 WEB_SITE="http://search.cpan.org/dist/Class-Singleton"
10 SOURCE="Class-Singleton"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://www.cpan.org/authors/id/S/SH/SHAY/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="$DEPENDS"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/usr $fs
30 }