wok-next view perl-class-accessor/receipt @ rev 14509

get-src2pkg: fix pkg name
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 14 07:41:25 2013 +0200 (2013-05-14)
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 }