aboutsummaryrefslogtreecommitdiff
path: root/perl/abuild
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2025-06-03 14:32:36 +0000
commit93a354611e38a6949add5c2e5ccc93ef79b9755f (patch)
tree7fee41752b1047d74c59f8ee046cd62735e7e934 /perl/abuild
parent35912580b66e9439f91ea441938828ad8aa33b0d (diff)
downloadalicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.tar.gz
alicelinux-93a354611e38a6949add5c2e5ccc93ef79b9755f.zip
Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI]
Diffstat (limited to 'perl/abuild')
-rw-r--r--perl/abuild21
1 files changed, 21 insertions, 0 deletions
diff --git a/perl/abuild b/perl/abuild
new file mode 100644
index 00000000..05cb42b1
--- /dev/null
+++ b/perl/abuild
@@ -0,0 +1,21 @@
+name=perl
+version=5.40.2
+release=1
+source="https://www.cpan.org/src/5.0/perl-$version.tar.xz"
+
+build() {
+ BUILD_ZLIB=False \
+ BUILD_BZIP2=0 \
+ sh Configure -des -Dprefix=/usr \
+ -Dvendorprefix=/usr \
+ -Dprivlib=/usr/lib/perl5/${version%.*} \
+ -Dsitelib=/usr/lib/perl5/site_perl/${version%.*} \
+ -Dvendorlib=/usr/lib/perl5/site_perl/${version%.*} \
+ -Dman1dir=/usr/share/man/man1 \
+ -Dman3dir=/usr/share/man/man3 \
+ -Dpager="/usr/bin/less -isR" \
+ -Duseshrplib \
+ -Dusethreads
+ make
+ make DESTDIR=$PKG install
+}