wok-4.x view perl-class-accessor/receipt @ rev 9297

Add perl-test-pod.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 17 07:08:58 2011 +0000 (2011-03-17)
parents
children
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 }