wok-current annotate perl-mail-sendmail/receipt @ rev 25573
updated asterisk and asterisk-dev (11.1.1 -> 20.2.1)
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 13 16:27:48 2023 +0100 (19 months ago) |
parents | a5ee7ff07b85 |
children |
rev | line source |
---|---|
pascal@17380 | 1 # SliTaz package receipt. |
pascal@17380 | 2 |
pascal@17380 | 3 PACKAGE="perl-mail-sendmail" |
Hans-G?nter@23365 | 4 VERSION="0.80" |
pascal@17380 | 5 CATEGORY="development" |
Hans-G?nter@23365 | 6 SHORT_DESC="Perl extension Mail::Sendmail." |
pascal@17380 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18334 | 8 LICENSE="GPL" |
Hans-G?nter@23365 | 9 WEB_SITE="https://metacpan.org/release/Mail-Sendmail" |
Hans-G?nter@23365 | 10 |
pascal@17380 | 11 SOURCE="Mail-Sendmail" |
pascal@17380 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23365 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Mail/$TARBALL" |
pascal@17380 | 14 |
pascal@17380 | 15 DEPENDS="perl" |
pascal@17380 | 16 BUILD_DEPENDS="perl" |
pascal@17380 | 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@17380 | 24 # Rules to configure and make the package. |
pascal@17380 | 25 compile_rules() |
pascal@17380 | 26 { |
Hans-G?nter@23365 | 27 perl Makefile.PL && |
Hans-G?nter@23365 | 28 make && |
pascal@17380 | 29 make DESTDIR=$DESTDIR install |
pascal@17380 | 30 } |
pascal@17380 | 31 |
pascal@17380 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17380 | 33 genpkg_rules() |
pascal@17380 | 34 { |
pascal@17380 | 35 mkdir -p $fs/usr |
Hans-G?nter@23365 | 36 cp -a $install/usr/lib $fs/usr |
pascal@17380 | 37 } |