wok-next annotate perl-devel-symdump/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 | 4e6503d7a19f |
rev | line source |
---|---|
al@19770 | 1 # SliTaz package receipt. |
al@19770 | 2 |
al@19770 | 3 PACKAGE="perl-devel-symdump" |
al@19770 | 4 VERSION="2.18" |
al@19770 | 5 CATEGORY="perl" |
al@19770 | 6 SHORT_DESC="Devel::Symdump - dump symbol names or the symbol table" |
al@19770 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19770 | 8 LICENSE="GPL" |
al@19770 | 9 WEB_SITE="https://metacpan.org/release/Devel-Symdump" |
al@19770 | 10 |
al@19770 | 11 TARBALL="Devel-Symdump-$VERSION.tar.gz" |
al@19770 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/A/AN/ANDK/$TARBALL" |
al@19770 | 13 |
al@19770 | 14 DEPENDS="perl" |
al@19770 | 15 BUILD_DEPENDS="$DEPENDS" |
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 } |