wok-next annotate perl-text-patch/receipt @ rev 21026
Tiny updates (Perl modules)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 04:30:58 2018 +0200 (2018-11-03) |
parents | |
children | f17e1f86f546 |
rev | line source |
---|---|
al@21026 | 1 # SliTaz package receipt v2. |
al@21026 | 2 |
al@21026 | 3 PACKAGE="perl-text-patch" |
al@21026 | 4 VERSION="1.8" |
al@21026 | 5 CATEGORY="perl" |
al@21026 | 6 SHORT_DESC="Text::Patch - Patches text with given patch" |
al@21026 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@21026 | 8 LICENSE="GPL" |
al@21026 | 9 WEB_SITE="https://metacpan.org/release/Text-Patch" |
al@21026 | 10 HOST_ARCH="any" |
al@21026 | 11 REPOLOGY="perl:text-patch" |
al@21026 | 12 |
al@21026 | 13 TARBALL="Text-Patch-$VERSION.tar.gz" |
al@21026 | 14 WGET_URL="https://cpan.metacpan.org/authors/id/C/CA/CADE/$TARBALL" |
al@21026 | 15 |
al@21026 | 16 BUILD_DEPENDS="perl" |
al@21026 | 17 |
al@21026 | 18 compile_rules() { |
al@21026 | 19 perl Makefile.PL && |
al@21026 | 20 make && |
al@21026 | 21 make DESTDIR=$install install && |
al@21026 | 22 |
al@21026 | 23 chmod -R u+w $install |
al@21026 | 24 } |
al@21026 | 25 |
al@21026 | 26 genpkg_rules() { |
al@21026 | 27 copy @std |
al@21026 | 28 DEPENDS="perl" |
al@21026 | 29 } |