wok-next view perl-yaml/receipt @ rev 15201
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 07 18:25:02 2013 +0000 (2013-09-07) |
parents | bd18cd8fd306 |
children | 1a86cb99cbbf |
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-yaml"
4 VERSION="0.71"
5 CATEGORY="development"
6 SHORT_DESC="Perl/CPAN Module YAML : YAML Aint Markup Language tm"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="YAML"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://search.cpan.org/dist/YAML/"
14 WGET_URL="http://www.cpan.org/authors/id/A/AD/ADAMK/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 perl Makefile.PL &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 # remove perllocal.pod and .packlist
31 find ${fs} -name perllocal.pod -delete
32 find ${fs} -name .packlist -delete
35 }