
Receipt for package "microperl"
# SliTaz package receipt. PACKAGE="microperl" SOURCE="perl" VERSION="5.24.4" CATEGORY="development" SHORT_DESC="A micro version of Perl." MAINTAINER="pankso@slitaz.org" LICENSE="GPL" TARBALL="$SOURCE-$VERSION.tar.gz" DEPENDS="libdb gdbm zlib" BUILD_DEPENDS="db gdbm zlib less" WEB_SITE="https://www.perl.org/" WGET_URL="http://ftp.funet.fi/pub/CPAN/src/$TARBALL" HOST_ARCH="i486 x86_64" current_version() { wget -O - $WEB_SITE 2>/dev/null | \ sed '/version-highlight/!d;s|.*">||;s|<.*||;q' } # Rules to configure and make the package. compile_rules() { # patch to fix issue Perl_fp_class_denorm(). test # see https://github.com/Perl/perl5/commit/488307f patch -p1 -i $stuff/perl-5.24.4-math-fix.patch # patch to fix compiling microperl patch -p1 -i $stuff/perl-5.24.1-microperl-fix.patch # Install in /usr (default is /usr/local). sed -i s/'usr\/local'/'usr'/ uconfig.sh # Sed to search mods in /usr/lib/perl5. sed -i s/'perl5\/'${VERSION%.*}/'perl5'/ uconfig.sh # Optimisation. sed -i s/'unknown'/$ARCH-linux/ uconfig.sh # Make it! make -f Makefile.micro regen_uconfig && make -f Makefile.micro && strip microperl } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/microperl $fs/usr/bin }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)