wok annotate perl-class-singleton/receipt @ rev 19595
Up: man-pages (4.09)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 01 17:13:11 2017 +0000 (2017-01-01) |
parents | |
children | 6e8b1bcb30e2 |
rev | line source |
---|---|
nneul@18451 | 1 # SliTaz package receipt. |
nneul@18451 | 2 |
nneul@18451 | 3 PACKAGE="perl-class-singleton" |
nneul@18451 | 4 VERSION="1.5" |
nneul@18451 | 5 CATEGORY="development" |
nneul@18451 | 6 SHORT_DESC="Class::Singleton is a perl module" |
nneul@18451 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18451 | 8 LICENSE="GPL" |
nneul@18451 | 9 WEB_SITE="http://search.cpan.org/dist/Class-Singleton" |
nneul@18451 | 10 SOURCE="Class-Singleton" |
nneul@18451 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@18451 | 12 WGET_URL="http://www.cpan.org/authors/id/S/SH/SHAY/$TARBALL" |
nneul@18451 | 13 |
nneul@18451 | 14 DEPENDS="perl" |
nneul@18451 | 15 BUILD_DEPENDS="$DEPENDS" |
nneul@18451 | 16 |
nneul@18451 | 17 # Rules to configure and make the package. |
nneul@18451 | 18 compile_rules() |
nneul@18451 | 19 { |
nneul@18451 | 20 cd $src |
nneul@18451 | 21 perl Makefile.PL && |
nneul@18451 | 22 make && |
nneul@18451 | 23 make DESTDIR=$DESTDIR install |
nneul@18451 | 24 } |
nneul@18451 | 25 |
nneul@18451 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18451 | 27 genpkg_rules() |
nneul@18451 | 28 { |
nneul@18451 | 29 cp -a $install/usr $fs |
nneul@18451 | 30 } |