rev |
line source |
al@19709
|
1 # SliTaz package receipt.
|
al@19709
|
2
|
al@19709
|
3 PACKAGE="perl-namespace-autoclean"
|
al@19709
|
4 VERSION="0.28"
|
al@19709
|
5 CATEGORY="perl"
|
al@19709
|
6 SHORT_DESC="namespace::autoclean - Keep imports out of your namespace"
|
al@19709
|
7 MAINTAINER="al.bobylev@gmail.com"
|
al@19709
|
8 LICENSE="GPL"
|
al@19709
|
9 WEB_SITE="https://metacpan.org/release/namespace-autoclean"
|
al@19709
|
10
|
al@19709
|
11 TARBALL="namespace-autoclean-$VERSION.tar.gz"
|
al@19709
|
12 WGET_URL="https://cpan.metacpan.org/authors/id/E/ET/ETHER/$TARBALL"
|
al@19709
|
13
|
al@19709
|
14 DEPENDS="perl-b-hooks-endofscope perl-namespace-clean perl-sub-identify"
|
al@19709
|
15 BUILD_DEPENDS="$DEPENDS perl-test-requires"
|
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 }
|