wok-6.x annotate perl-crypt-cbc/receipt @ rev 24015
Up tazinst (112)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 25 10:56:54 2021 +0000 (2021-02-25) |
parents | |
children | ca4a422cce07 |
rev | line source |
---|---|
nneul@18264 | 1 # SliTaz package receipt. |
nneul@18264 | 2 |
nneul@18264 | 3 PACKAGE="perl-crypt-cbc" |
nneul@18264 | 4 VERSION="2.33" |
nneul@18264 | 5 CATEGORY="development" |
nneul@18264 | 6 SHORT_DESC="Crypt::CBC module is a Perl extension." |
nneul@18264 | 7 MAINTAINER="nneul@neulinger.org" |
nneul@18264 | 8 LICENSE="Perl" |
nneul@18264 | 9 DEPENDS="perl" |
nneul@18264 | 10 BUILD_DEPENDS="perl" |
nneul@18264 | 11 SOURCE="Crypt-CBC" |
nneul@18264 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
nneul@18264 | 13 WEB_SITE="http://cpan.org/" |
nneul@18264 | 14 WGET_URL="http://cpan.org/authors/id/L/LD/LDS/$TARBALL" |
nneul@18264 | 15 |
nneul@18264 | 16 # Rules to configure and make the package. |
nneul@18264 | 17 compile_rules() |
nneul@18264 | 18 { |
nneul@18264 | 19 cd $src |
nneul@18264 | 20 perl Makefile.PL |
nneul@18264 | 21 make |
nneul@18264 | 22 make DESTDIR=$DESTDIR install |
nneul@18264 | 23 } |
nneul@18264 | 24 |
nneul@18264 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
nneul@18264 | 26 genpkg_rules() |
nneul@18264 | 27 { |
nneul@18264 | 28 mkdir -p $fs/usr |
nneul@18264 | 29 cp -a $install/usr/lib $fs/usr |
nneul@18264 | 30 } |
nneul@18264 | 31 |