wok annotate perl-yaml-syck/receipt @ rev 20190
linux: enable serial console
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 02 17:18:55 2018 +0100 (2018-02-02) |
parents | e4657f48e3e9 |
children | 20661c276bcf |
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" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@9304 | 9 DEPENDS="perl" |
slaxemulator@9304 | 10 BUILD_DEPENDS="perl" |
slaxemulator@9304 | 11 SOURCE="YAML-Syck" |
slaxemulator@9304 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9304 | 13 WEB_SITE="http://search.cpan.org/disk/YAML-Syck/" |
slaxemulator@9304 | 14 WGET_URL="http://www.cpan.org/authors/id/A/AV/AVAR/$TARBALL" |
slaxemulator@9304 | 15 |
slaxemulator@9304 | 16 # Rules to configure and make the package. |
slaxemulator@9304 | 17 compile_rules() |
slaxemulator@9304 | 18 { |
slaxemulator@9304 | 19 cd $src |
slaxemulator@9304 | 20 perl Makefile.PL -y && |
slaxemulator@9304 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@9304 | 23 } |
slaxemulator@9304 | 24 |
slaxemulator@9304 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9304 | 26 genpkg_rules() |
slaxemulator@9304 | 27 { |
slaxemulator@9304 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@9304 | 30 } |
slaxemulator@9304 | 31 |