wok annotate perl-class-accessor/receipt @ rev 17315
Up: tazweb (1.10)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Nov 03 00:55:32 2014 +0200 (2014-11-03) |
parents | 58d904b1eded |
children | 573d4c473481 |
rev | line source |
---|---|
slaxemulator@8746 | 1 # SliTaz package receipt. |
slaxemulator@8746 | 2 |
slaxemulator@8746 | 3 PACKAGE="perl-class-accessor" |
slaxemulator@8746 | 4 VERSION="0.34" |
slaxemulator@8746 | 5 CATEGORY="development" |
slaxemulator@8746 | 6 SHORT_DESC="Automated accessor generation" |
slaxemulator@8746 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@8746 | 9 DEPENDS="perl" |
slaxemulator@8746 | 10 SOURCE="Class-Accessor" |
slaxemulator@8746 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@8746 | 12 WEB_SITE="http://search.cpan.org/dist/Class-Accessor/" |
slaxemulator@8746 | 13 WGET_URL="http://www.cpan.org/authors/id/K/KA/KASEI/$TARBALL" |
slaxemulator@8746 | 14 |
slaxemulator@8746 | 15 # Rules to configure and make the package. |
slaxemulator@8746 | 16 compile_rules() |
slaxemulator@8746 | 17 { |
slaxemulator@8746 | 18 cd $src |
slaxemulator@8746 | 19 perl Makefile.PL && |
slaxemulator@8746 | 20 make && |
slaxemulator@8746 | 21 make DESTDIR=$DESTDIR install |
slaxemulator@8746 | 22 } |
slaxemulator@8746 | 23 |
slaxemulator@8746 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8746 | 25 genpkg_rules() |
slaxemulator@8746 | 26 { |
slaxemulator@8746 | 27 mkdir -p $fs/usr |
pascal@14702 | 28 cp -a $install/usr/lib $fs/usr |
slaxemulator@8746 | 29 } |
slaxemulator@8746 | 30 |