wok-6.x view perl-class-accessor/receipt @ rev 8746
Add perl-class-accessor
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 19 18:29:48 2011 +0000 (2011-02-19) |
parents | |
children | 2d12ebd38be4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-class-accessor"
4 VERSION="0.34"
5 CATEGORY="development"
6 SHORT_DESC="Automated accessor generation"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="perl"
9 SOURCE="Class-Accessor"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://search.cpan.org/dist/Class-Accessor/"
12 WGET_URL="http://www.cpan.org/authors/id/K/KA/KASEI/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 perl Makefile.PL &&
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }