wok annotate perl-mime-types/receipt @ rev 23879
Up slitaz-boot-scripts (461): busybox may need /usr/lib/libstd++.so
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 05 12:49:35 2020 +0000 (2020-07-05) |
parents | 20661c276bcf |
children | 15650f5d595b |
rev | line source |
---|---|
pascal@14698 | 1 # SliTaz package receipt. |
pascal@14698 | 2 |
pascal@14698 | 3 PACKAGE="perl-mime-types" |
Hans-G?nter@23370 | 4 VERSION="2.17" |
pascal@14698 | 5 CATEGORY="development" |
Hans-G?nter@23370 | 6 SHORT_DESC="Perl extension MIME::Types." |
pascal@14698 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23370 | 9 WEB_SITE="https://metacpan.org/release/MIME-Types" |
Hans-G?nter@23370 | 10 |
Hans-G?nter@23370 | 11 SOURCE="MIME-Types" |
Hans-G?nter@23370 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23370 | 13 WGET_URL="https://www.cpan.org/modules/by-module/MIME/$TARBALL" |
Hans-G?nter@23370 | 14 |
pascal@14698 | 15 DEPENDS="perl" |
pascal@14698 | 16 BUILD_DEPENDS="perl" |
pascal@14698 | 17 |
pascal@14698 | 18 # Rules to configure and make the package. |
pascal@14698 | 19 compile_rules() |
pascal@14698 | 20 { |
pascal@14698 | 21 perl Makefile.PL && |
pascal@14698 | 22 make && |
pascal@14698 | 23 make install DESTDIR=$DESTDIR |
pascal@14698 | 24 } |
pascal@14698 | 25 |
pascal@14698 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14698 | 27 genpkg_rules() |
pascal@14698 | 28 { |
pascal@14698 | 29 mkdir -p $fs/usr |
Hans-G?nter@23370 | 30 cp -a $install/usr/lib $fs/usr |
pascal@14698 | 31 } |