wok-next annotate microperl/receipt @ rev 20017
Add speexdsp, up speex, pulseaudio & pavucontrol.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Oct 22 03:28:23 2017 +0300 (2017-10-22) |
parents | 2d12ebd38be4 |
children | b278b2018965 |
rev | line source |
---|---|
pankso@31 | 1 # SliTaz package receipt. |
pankso@31 | 2 |
pankso@31 | 3 PACKAGE="microperl" |
al@19568 | 4 VERSION="5.24.0" |
pankso@204 | 5 CATEGORY="development" |
pankso@31 | 6 SHORT_DESC="A micro version of Perl." |
pankso@31 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19568 | 9 WEB_SITE="https://www.perl.org/" |
al@19568 | 10 |
al@19568 | 11 TARBALL="perl-$VERSION.tar.bz2" |
al@19568 | 12 WGET_URL="http://www.cpan.org/src/5.0/$TARBALL" |
al@19568 | 13 |
al@19568 | 14 DEPENDS="glibc-base" |
al@19568 | 15 SIBLINGS="perl" |
al@19568 | 16 |
al@19568 | 17 # Rules to configure and make the package. |
al@19568 | 18 compile_rules() |
al@19568 | 19 { |
al@19568 | 20 # cp Makefile.micro Makefile.micro.orig |
al@19568 | 21 patch -p1 -i $stuff/microperl.patch |
al@19568 | 22 sed -i "s|usr/local|usr|; s|perl5/5.24|perl5/5.24.0|; s|unknown|$HOST_SYSTEM|" \ |
al@19568 | 23 uconfig.sh |
al@19568 | 24 |
al@19568 | 25 make -f Makefile.micro regen_uconfig && |
al@19568 | 26 make -f Makefile.micro |
al@19568 | 27 } |
pankso@31 | 28 |
pankso@31 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@31 | 30 genpkg_rules() |
pankso@31 | 31 { |
pankso@31 | 32 mkdir -p $fs/usr/bin |
pankso@31 | 33 cp -a $src/microperl $fs/usr/bin |
pankso@31 | 34 } |