wok-6.x annotate perl-carp-clan/receipt @ rev 12965
Up: slitaz-base-files (5.2.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jun 01 08:32:45 2012 +0200 (2012-06-01) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
slaxemulator@10171 | 1 # SliTaz package receipt. |
slaxemulator@10171 | 2 |
slaxemulator@10171 | 3 PACKAGE="perl-carp-clan" |
slaxemulator@10171 | 4 VERSION="6.04" |
slaxemulator@10171 | 5 CATEGORY="development" |
slaxemulator@10171 | 6 SHORT_DESC="Report errors from perspective of caller of a "clan" of modules" |
slaxemulator@10171 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@10171 | 8 DEPENDS="perl" |
slaxemulator@10171 | 9 BUILD_DEPENDS="perl" |
slaxemulator@10171 | 10 SOURCE="Carp-Clan" |
slaxemulator@10171 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10171 | 12 WEB_SITE="http://search.cpan.org/dist/Carp-Clan/" |
slaxemulator@10171 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$TARBALL" |
slaxemulator@10171 | 14 |
slaxemulator@10171 | 15 # Rules to configure and make the package. |
slaxemulator@10171 | 16 compile_rules() |
slaxemulator@10171 | 17 { |
slaxemulator@10171 | 18 cd $src |
slaxemulator@10171 | 19 perl Makefile.PL && |
slaxemulator@10171 | 20 make && |
slaxemulator@10171 | 21 make install DESTDIR=$DESTDIR |
slaxemulator@10171 | 22 } |
slaxemulator@10171 | 23 |
slaxemulator@10171 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10171 | 25 genpkg_rules() |
slaxemulator@10171 | 26 { |
slaxemulator@10171 | 27 mkdir -p $fs/usr |
slaxemulator@10171 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@10171 | 29 } |