wok-next annotate perl-mock-config/receipt @ rev 20709
cdrdao: add patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 26 17:09:29 2018 +0300 (2018-05-26) |
parents | |
children | 4e6503d7a19f |
rev | line source |
---|---|
al@19770 | 1 # SliTaz package receipt. |
al@19770 | 2 |
al@19770 | 3 PACKAGE="perl-mock-config" |
al@19770 | 4 VERSION="0.03" |
al@19770 | 5 CATEGORY="perl" |
al@19770 | 6 SHORT_DESC="Mock::Config - temporarily set Config or XSConfig values" |
al@19770 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19770 | 8 LICENSE="GPL" |
al@19770 | 9 WEB_SITE="https://metacpan.org/release/Mock-Config" |
al@19770 | 10 |
al@19770 | 11 TARBALL="Mock-Config-$VERSION.tar.gz" |
al@19770 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/R/RU/RURBAN/$TARBALL" |
al@19770 | 13 |
al@19770 | 14 DEPENDS="perl" |
al@19770 | 15 BUILD_DEPENDS="perl" |
al@19770 | 16 |
al@19770 | 17 # Rules to configure and make the package. |
al@19770 | 18 compile_rules() |
al@19770 | 19 { |
al@19770 | 20 perl Makefile.PL && |
al@19770 | 21 make && make DESTDIR=$install install && |
al@19770 | 22 |
al@19770 | 23 chmod -R u+w $install |
al@19770 | 24 } |
al@19770 | 25 |
al@19770 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19770 | 27 genpkg_rules() |
al@19770 | 28 { |
al@19770 | 29 copy @std |
al@19770 | 30 } |