wok annotate perl-spreadsheet-writeexcel/receipt @ rev 24809
created recipes for libmypaint, libmypaint-dev and libmypaint-lang
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 16:52:59 2022 +0100 (2022-03-22) |
parents | d308b1802ae6 |
children | 0af8df0b46fc |
rev | line source |
---|---|
pascal@1605 | 1 # SliTaz package receipt. |
pascal@1605 | 2 |
pascal@1605 | 3 PACKAGE="perl-spreadsheet-writeexcel" |
Hans-G?nter@23390 | 4 VERSION="2.40" |
pascal@1605 | 5 CATEGORY="development" |
Hans-G?nter@23390 | 6 SHORT_DESC="Perl extension Spreadsheet::WriteExcel." |
pascal@1605 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23390 | 9 WEB_SITE="https://metacpan.org/release/Spreadsheet-WriteExcel" |
Hans-G?nter@23390 | 10 |
Hans-G?nter@23390 | 11 SOURCE="Spreadsheet-WriteExcel" |
Hans-G?nter@23390 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23390 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Spreadsheet/$TARBALL" |
Hans-G?nter@23390 | 14 |
pascal@1605 | 15 DEPENDS="perl" |
pascal@1605 | 16 BUILD_DEPENDS="perl" |
pascal@1605 | 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@1605 | 24 # Rules to configure and make the package. |
pascal@1605 | 25 compile_rules() |
pascal@1605 | 26 { |
Hans-G?nter@23390 | 27 perl Makefile.PL && |
Hans-G?nter@23390 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
pascal@1605 | 30 } |
pascal@1605 | 31 |
pascal@1605 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1605 | 33 genpkg_rules() |
pascal@1605 | 34 { |
pascal@1605 | 35 mkdir -p $fs/usr |
Hans-G?nter@23390 | 36 cp -a $install/usr/lib $fs/usr |
pascal@1605 | 37 } |