wok-next annotate perl-task-weaken/receipt @ rev 20424
linux-dev: move creation to compile_rules(), keep genpkg_rules() for copying/splitting only
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jan 12 17:02:57 2018 +0200 (2018-01-12) |
parents | |
children | 94c7506c8138 |
rev | line source |
---|---|
al@19709 | 1 # SliTaz package receipt. |
al@19709 | 2 |
al@19709 | 3 PACKAGE="perl-task-weaken" |
al@19709 | 4 VERSION="1.04" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="Task::Weaken - Ensure that a platform has weaken support" |
al@19709 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19709 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/Task-Weaken" |
al@19709 | 10 |
al@19709 | 11 TARBALL="Task-Weaken-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/A/AD/ADAMK/$TARBALL" |
al@19709 | 13 |
al@19709 | 14 DEPENDS="perl" |
al@19709 | 15 BUILD_DEPENDS="perl" |
al@19709 | 16 |
al@19709 | 17 # Rules to configure and make the package. |
al@19709 | 18 compile_rules() |
al@19709 | 19 { |
al@19709 | 20 perl Makefile.PL && |
al@19709 | 21 make && make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $install |
al@19709 | 24 } |
al@19709 | 25 |
al@19709 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19709 | 27 genpkg_rules() |
al@19709 | 28 { |
al@19709 | 29 copy @std |
al@19709 | 30 } |