1
0
Fork 0
frozenports/lang/perl5/SCHEMATIC

32 lines
1.1 KiB
Plaintext
Raw Permalink Normal View History

2024-01-22 10:46:08 +00:00
#!/bin/sh
name="perl5"
short_desc="Practical Extraction and Report Language"
desc="Perl is a language that combines some of the features of C, sed, awk and
shell. See the manual page for more hype. There are also many books
published by O'Reilly & Assoc. See pod/perlbook.pod for more
information."
category="lang"
version="5.38.2"
maintainer="ffqq@danwin1210.de"
www="https://www.perl.org/"
master_site="https://www.cpan.org/src/5.0"
source_name="perl-$version.tar.gz"
license_logic="single" # accepted values: single, and, or
licenses=("GPLv1")
build_dependencies=("devel/gmake" "lang/gcc")
run_dependencies=("system/glibc")
build_process() {
cd perl-$version || exit 1
sh Configure -des \
-Dprefix=/usr \
-Dvendorprefix=/usr \
-Dman1dir=/usr/share/man/man1 \
-Dman3dir=/usr/share/man/man3 \
-Dpager="/usr/bin/less -isR" \
-Duseshrplib \
-Dusethreads
make -j$(nproc) || exit 1
make DESTDIR="$TAMANDUA_STAGE_DIR" install || exit 1
}