wok view perl-core/receipt @ rev 19774

some *-dev depend on pkg-config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 21 15:50:51 2017 +0100 (2017-02-21)
parents 9e01bc6321ea
children 7423cf91a25b
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-core"
4 VERSION="5.12.3"
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 }