wok-current annotate perl-ole-Storage_Lite/receipt @ rev 25077
updated openvswitch and openvswitch-dev (2.14.0 -> 2.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 14:50:09 2022 +0100 (2022-06-15) |
parents | 777e726a4d5c |
children |
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@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@1606 | 24 # Rules to configure and make the package. |
pascal@1606 | 25 compile_rules() |
pascal@1606 | 26 { |
Hans-G?nter@23384 | 27 perl Makefile.PL && |
Hans-G?nter@23384 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@1606 | 30 } |
pascal@1606 | 31 |
pascal@1606 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1606 | 33 genpkg_rules() |
pascal@1606 | 34 { |
pascal@1606 | 35 mkdir -p $fs/usr |
Hans-G?nter@23384 | 36 cp -a $install/usr/lib $fs/usr |
pascal@1606 | 37 } |