wok-6.x annotate perl-file-desktopentry/receipt @ rev 23997
linld: add iso support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 08 20:36:59 2021 +0000 (2021-01-08) |
parents | 20661c276bcf |
children | 15650f5d595b |
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 |
paul@3233 | 18 # Rules to configure and make the package. |
paul@3233 | 19 compile_rules() |
paul@3233 | 20 { |
paul@3233 | 21 perl Makefile.PL && |
paul@3233 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
paul@3233 | 24 } |
paul@3233 | 25 |
paul@3233 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3233 | 27 genpkg_rules() |
paul@3233 | 28 { |
paul@3233 | 29 mkdir -p $fs/usr |
Hans-G?nter@23329 | 30 cp -a $install/usr/lib $fs/usr |
paul@3233 | 31 } |