wok view perl-core/receipt @ rev 21519

mosh: update patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 03 16:47:04 2019 +0200 (2019-05-03)
parents 6fab3264ba87
children 93cfbe138cae
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="http://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 }