wok-6.x annotate perl-class-accessor/receipt @ rev 20510
Up acl-dev (2.2.53)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 31 15:13:42 2018 +0100 (2018-10-31) |
parents | 2d12ebd38be4 |
children | 6e8b1bcb30e2 |
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 SOURCE="Class-Accessor" |
slaxemulator@8746 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@8746 | 11 WEB_SITE="http://search.cpan.org/dist/Class-Accessor/" |
slaxemulator@8746 | 12 WGET_URL="http://www.cpan.org/authors/id/K/KA/KASEI/$TARBALL" |
slaxemulator@8746 | 13 |
pascal@17741 | 14 DEPENDS="perl" |
pascal@17741 | 15 BUILD_DEPENDS="perl" |
pascal@17741 | 16 |
slaxemulator@8746 | 17 # Rules to configure and make the package. |
slaxemulator@8746 | 18 compile_rules() |
slaxemulator@8746 | 19 { |
slaxemulator@8746 | 20 perl Makefile.PL && |
slaxemulator@8746 | 21 make && |
slaxemulator@8746 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@8746 | 23 } |
slaxemulator@8746 | 24 |
slaxemulator@8746 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8746 | 26 genpkg_rules() |
slaxemulator@8746 | 27 { |
slaxemulator@8746 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@8746 | 30 } |