wok-current view perl-core/receipt @ rev 23994

linld: no initrd fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 15 08:41:50 2020 +0000 (2020-12-15)
parents 7423cf91a25b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-core"
4 VERSION="5.14.1"
5 CATEGORY="development"
6 SHORT_DESC="Minimal Perl interpreter."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="perl"
10 WANTED="perl"
11 WEB_SITE="https://www.perl.org/"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/bin
18 cp -a $install/usr/bin/perl${VERSION} $fs/usr/bin/
19 cd $fs/usr/bin
20 ln -s perl${VERSION} perl
21 }
23 # Pre install commands for Tazpkg.
24 # Remove perl link to microperl if any.
25 #
26 pre_install()
27 {
28 rm -f "$1/usr/bin/perl"
29 }