wok-6.x annotate perl-file-desktopentry/receipt @ rev 24323
updated aria2 (1.35.0 -> 1.36.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jan 27 09:00:40 2022 +0100 (2022-01-27) |
parents | 110682657cef |
children |
rev | line source |
---|---|
paul@3233 | 1 # SliTaz package receipt. |
paul@3233 | 2 |
paul@3233 | 3 PACKAGE="perl-file-desktopentry" |
Hans-G?nter@23329 | 4 VERSION="0.22" |
paul@3233 | 5 CATEGORY="development" |
Hans-G?nter@23329 | 6 SHORT_DESC="Perl extension File::DesktopEntry." |
paul@3233 | 7 MAINTAINER="paul@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23329 | 9 WEB_SITE="https://metacpan.org/release/File-DesktopEntry" |
Hans-G?nter@23329 | 10 |
Hans-G?nter@23329 | 11 SOURCE="File-DesktopEntry" |
Hans-G?nter@23329 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23329 | 13 WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL" |
Hans-G?nter@23329 | 14 |
paul@3233 | 15 DEPENDS="perl perl-file-basedir" |
paul@3233 | 16 BUILD_DEPENDS="perl perl-file-basedir" |
paul@3233 | 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 |
paul@3233 | 24 # Rules to configure and make the package. |
paul@3233 | 25 compile_rules() |
paul@3233 | 26 { |
paul@3233 | 27 perl Makefile.PL && |
paul@3233 | 28 make && |
pascal@14702 | 29 make DESTDIR=$DESTDIR install |
paul@3233 | 30 } |
paul@3233 | 31 |
paul@3233 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3233 | 33 genpkg_rules() |
paul@3233 | 34 { |
paul@3233 | 35 mkdir -p $fs/usr |
Hans-G?nter@23329 | 36 cp -a $install/usr/lib $fs/usr |
paul@3233 | 37 } |