wok annotate perl-log-agent/receipt @ rev 16744
Add telegram
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 12 09:18:41 2014 +0200 (2014-06-12) |
parents | 9866a672f23f |
children | c86e41198e76 |
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" |
pascal@14702 | 8 LICENSE="GPL" |
sygne@1683 | 9 DEPENDS="perl" |
sygne@1683 | 10 BUILD_DEPENDS="perl" |
sygne@1683 | 11 SOURCE="Log-Agent" |
sygne@1683 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
sygne@1683 | 13 WEB_SITE="http://cpan.org/" |
sygne@1683 | 14 WGET_URL="http://cpan.org/authors/id/R/RA/RAM/$TARBALL" |
sygne@1683 | 15 |
sygne@1683 | 16 # Rules to configure and make the package. |
sygne@1683 | 17 compile_rules() |
sygne@1683 | 18 { |
sygne@1683 | 19 cd $src |
sygne@1683 | 20 perl Makefile.PL && |
sygne@1683 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
sygne@1683 | 23 } |
sygne@1683 | 24 |
sygne@1683 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
sygne@1683 | 26 genpkg_rules() |
sygne@1683 | 27 { |
sygne@1683 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
sygne@1683 | 30 } |
sygne@1683 | 31 |