wok annotate perl-lchown/receipt @ rev 18582
Tiny fixes
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Nov 11 21:14:28 2015 +0200 (2015-11-11) |
parents | 7ce282b2221f |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@14281 | 1 # SliTaz package receipt. |
pascal@14281 | 2 |
pascal@14281 | 3 PACKAGE="perl-lchown" |
pascal@14281 | 4 VERSION="1.01" |
pascal@14281 | 5 CATEGORY="development" |
pascal@14281 | 6 SHORT_DESC="Lchown module is a Perl extension." |
pascal@14281 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@14281 | 9 SOURCE="Lchown" |
pascal@14281 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14281 | 11 WEB_SITE="http://cpan.org/" |
pascal@14281 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NC/NCLEATON/$TARBALL" |
pascal@14281 | 13 |
pascal@14282 | 14 DEPENDS="perl" |
pascal@14282 | 15 BUILD_DEPENDS="perl" |
pascal@14281 | 16 |
pascal@14281 | 17 # Rules to configure and make the package. |
pascal@14281 | 18 compile_rules() |
pascal@14281 | 19 { |
pascal@14281 | 20 cd $src |
pascal@14281 | 21 perl Makefile.PL && |
pascal@14281 | 22 make && |
pascal@14281 | 23 make DESTDIR=$DESTDIR install |
pascal@14281 | 24 } |
pascal@14281 | 25 |
pascal@14281 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14281 | 27 genpkg_rules() |
pascal@14281 | 28 { |
pascal@14281 | 29 mkdir -p $fs/usr |
pascal@14281 | 30 cp -a $install/usr/lib $fs/usr |
pascal@14281 | 31 } |
pascal@14281 | 32 |