wok annotate perl-log-agent/receipt @ rev 14312
Up: elementary-dev (1.7.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:24:05 2013 +0200 (2013-04-07) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
sygne@1683 | 1 # SliTaz package receipt. |
sygne@1683 | 2 |
sygne@1683 | 3 PACKAGE="perl-log-agent" |
sygne@1683 | 4 VERSION="0.2.8" |
sygne@1683 | 5 CATEGORY="development" |
sygne@1683 | 6 SHORT_DESC=" Log::Agent module is a Perl extension." |
sygne@1683 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
sygne@1683 | 8 DEPENDS="perl" |
sygne@1683 | 9 BUILD_DEPENDS="perl" |
sygne@1683 | 10 SOURCE="Log-Agent" |
sygne@1683 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
sygne@1683 | 12 WEB_SITE="http://cpan.org/" |
sygne@1683 | 13 WGET_URL="http://cpan.org/authors/id/R/RA/RAM/$TARBALL" |
sygne@1683 | 14 |
sygne@1683 | 15 # Rules to configure and make the package. |
sygne@1683 | 16 compile_rules() |
sygne@1683 | 17 { |
sygne@1683 | 18 cd $src |
sygne@1683 | 19 perl Makefile.PL && |
sygne@1683 | 20 make && |
sygne@1683 | 21 make DESTDIR=$PWD/_pkg install |
sygne@1683 | 22 } |
sygne@1683 | 23 |
sygne@1683 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
sygne@1683 | 25 genpkg_rules() |
sygne@1683 | 26 { |
sygne@1683 | 27 mkdir -p $fs/usr |
sygne@1683 | 28 cp -a $_pkg/usr/lib $fs/usr |
sygne@1683 | 29 } |
sygne@1683 | 30 |