wok-next annotate microperl/receipt @ rev 21040
mariadb 10.3.10 (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 09 09:48:29 2018 +0200 (2018-11-09) |
parents | d6378d455338 |
children |
rev | line source |
---|---|
al@20481 | 1 # SliTaz package receipt v2. |
pankso@31 | 2 |
pankso@31 | 3 PACKAGE="microperl" |
al@19568 | 4 VERSION="5.24.0" |
pankso@204 | 5 CATEGORY="development" |
al@20481 | 6 SHORT_DESC="A micro version of Perl" |
al@21020 | 7 MAINTAINER="devel@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 SIBLINGS="perl" |
al@19568 | 15 |
al@20481 | 16 compile_rules() { |
al@19568 | 17 sed -i "s|usr/local|usr|; s|perl5/5.24|perl5/5.24.0|; s|unknown|$HOST_SYSTEM|" \ |
al@19568 | 18 uconfig.sh |
al@19568 | 19 |
al@19568 | 20 make -f Makefile.micro regen_uconfig && |
al@20481 | 21 make -f Makefile.micro && |
al@21020 | 22 install -Dm755 $src/microperl $install/usr/bin/microperl |
al@19568 | 23 } |
pankso@31 | 24 |
al@20481 | 25 genpkg_rules() { |
al@20481 | 26 copy @std |
al@20481 | 27 DEPENDS="glibc-base" |
pankso@31 | 28 } |