wok-next annotate perl-yaml-syck/receipt @ rev 14233
Up tazpanel (1.6.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 22 08:48:17 2013 +0100 (2013-03-22) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
slaxemulator@9304 | 1 # SliTaz package receipt. |
slaxemulator@9304 | 2 |
slaxemulator@9304 | 3 PACKAGE="perl-yaml-syck" |
slaxemulator@9304 | 4 VERSION="1.17" |
slaxemulator@9304 | 5 CATEGORY="development" |
slaxemulator@9304 | 6 SHORT_DESC="Fast, lightweight YAML loader and dumper" |
slaxemulator@9304 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9304 | 8 DEPENDS="perl" |
slaxemulator@9304 | 9 BUILD_DEPENDS="perl" |
slaxemulator@9304 | 10 SOURCE="YAML-Syck" |
slaxemulator@9304 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9304 | 12 WEB_SITE="http://search.cpan.org/disk/YAML-Syck/" |
slaxemulator@9304 | 13 WGET_URL="http://www.cpan.org/authors/id/A/AV/AVAR/$TARBALL" |
slaxemulator@9304 | 14 |
slaxemulator@9304 | 15 # Rules to configure and make the package. |
slaxemulator@9304 | 16 compile_rules() |
slaxemulator@9304 | 17 { |
slaxemulator@9304 | 18 cd $src |
slaxemulator@9304 | 19 perl Makefile.PL -y && |
slaxemulator@9304 | 20 make && |
slaxemulator@9304 | 21 make DESTDIR=$PWD/_pkg install |
slaxemulator@9304 | 22 } |
slaxemulator@9304 | 23 |
slaxemulator@9304 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9304 | 25 genpkg_rules() |
slaxemulator@9304 | 26 { |
slaxemulator@9304 | 27 mkdir -p $fs/usr |
slaxemulator@9304 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@9304 | 29 } |
slaxemulator@9304 | 30 |