wok-current annotate perl-ole-Storage_Lite/receipt @ rev 24066
Add some current_version()
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 05 15:00:07 2021 +0000 (2021-07-05) |
parents | 3e9b01ea2f0a |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@1606 | 1 # SliTaz package receipt. |
pascal@1606 | 2 |
pascal@1606 | 3 PACKAGE="perl-ole-Storage_Lite" |
Hans-G?nter@23384 | 4 VERSION="0.20" |
pascal@1606 | 5 CATEGORY="development" |
Hans-G?nter@23384 | 6 SHORT_DESC="Perl extension OLE::Storage_Lite." |
pascal@1606 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23384 | 9 WEB_SITE="https://metacpan.org/release/OLE-Storage_Lite" |
Hans-G?nter@23384 | 10 |
Hans-G?nter@23384 | 11 SOURCE="OLE-Storage_Lite" |
Hans-G?nter@23384 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23386 | 13 WGET_URL="https://www.cpan.org/modules/by-module/OLE/$TARBALL" |
Hans-G?nter@23384 | 14 |
pascal@1606 | 15 DEPENDS="perl" |
pascal@1606 | 16 BUILD_DEPENDS="perl" |
pascal@1606 | 17 |
pascal@1606 | 18 # Rules to configure and make the package. |
pascal@1606 | 19 compile_rules() |
pascal@1606 | 20 { |
Hans-G?nter@23384 | 21 perl Makefile.PL && |
Hans-G?nter@23384 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@1606 | 24 } |
pascal@1606 | 25 |
pascal@1606 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1606 | 27 genpkg_rules() |
pascal@1606 | 28 { |
pascal@1606 | 29 mkdir -p $fs/usr |
Hans-G?nter@23384 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1606 | 31 } |