wok-next view microperl/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | 2d12ebd38be4 |
children | b278b2018965 |
line source
1 # SliTaz package receipt.
3 PACKAGE="microperl"
4 VERSION="5.24.0"
5 CATEGORY="development"
6 SHORT_DESC="A micro version of Perl."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://www.perl.org/"
11 TARBALL="perl-$VERSION.tar.bz2"
12 WGET_URL="http://www.cpan.org/src/5.0/$TARBALL"
14 DEPENDS="glibc-base"
15 SIBLINGS="perl"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # cp Makefile.micro Makefile.micro.orig
21 patch -p1 -i $stuff/microperl.patch
22 sed -i "s|usr/local|usr|; s|perl5/5.24|perl5/5.24.0|; s|unknown|$HOST_SYSTEM|" \
23 uconfig.sh
25 make -f Makefile.micro regen_uconfig &&
26 make -f Makefile.micro
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/microperl $fs/usr/bin
34 }