@@ -55,12 +55,18 @@ def setup():
|
||||
-Di_db \
|
||||
-Ubincompat5005 \
|
||||
-Uversiononly \
|
||||
-Dprivlib=/usr/share/perl5/core_perl \
|
||||
-Darchlib=/usr/lib/perl5/%s/core_perl \
|
||||
-Dsitelib=/usr/share/perl5/site_perl \
|
||||
-Dsitearch=/usr/lib/perl5/%s/site_perl \
|
||||
-Dvendorlib=/usr/share/perl5/vendor_perl \
|
||||
-Dvendorarch=/usr/lib/perl5/%s/vendor_perl \
|
||||
-Dpager="/usr/bin/less -isr" \
|
||||
-Dd_gethostent_r_proto -Ud_endhostent_r_proto -Ud_sethostent_r_proto \
|
||||
-Ud_endprotoent_r_proto -Ud_setprotoent_r_proto \
|
||||
-Ud_endservent_r_proto -Ud_setservent_r_proto \
|
||||
-Dlibpth="/lib /usr/lib" \
|
||||
' %(get.ARCH(), get.CC(), get.CFLAGS(), get.installDIR(), get.installDIR(), get.srcVERSION()))
|
||||
' %(get.ARCH(), get.CC(), get.CFLAGS(), get.installDIR(), get.installDIR(), get.srcVERSION(), get.srcVERSION(), get.srcVERSION(), get.srcVERSION()))
|
||||
|
||||
|
||||
def build():
|
||||
@@ -88,8 +94,8 @@ def install():
|
||||
# NEEDS MODIFICATION FOR NEW VERSION
|
||||
pisitools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so")
|
||||
pisitools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5")
|
||||
pisitools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5.32")
|
||||
pisitools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5.32.0")
|
||||
pisitools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5.38")
|
||||
pisitools.dosym("/usr/lib/perl5/%s/%s-linux-thread-multi/CORE/libperl.so.%s" % (get.srcVERSION(), get.ARCH(), get.srcVERSION()), "/usr/lib/libperl.so.5.38.2")
|
||||
|
||||
# Docs
|
||||
pisitools.dodir("/usr/share/doc/%s/html" % get.srcNAME())
|
||||
@@ -99,6 +105,19 @@ def install():
|
||||
--recurse \
|
||||
--htmldir="%s/usr/share/doc/%s/html"' % (get.curDIR(), get.installDIR(), get.srcNAME()))
|
||||
|
||||
### Arch linux Perl Settings ###
|
||||
# Change man page extensions for site and vendor module builds.
|
||||
# Set no mail address since bug reports should go to the bug tracker
|
||||
# and not someone's email.
|
||||
shelltools.system("""sed -e '/^man1ext=/ s/1perl/1p/' -e '/^man3ext=/ s/3perl/3pm/' \
|
||||
-e "/^cf_email=/ s/'.*'/''/" \
|
||||
-e "/^perladmin=/ s/'.*'/''/" \
|
||||
-i %s/usr/lib/perl5/%s/core_perl/Config_heavy.pl""" % (get.installDIR(), get.srcVERSION()))
|
||||
|
||||
shelltools.system("""sed -e '/(makepl_arg =>/ s/""/"INSTALLDIRS=site"/' \
|
||||
-e '/(mbuildpl_arg =>/ s/""/"installdirs=site"/' \
|
||||
-i %s/usr/share/perl5/core_perl/CPAN/FirstTime.pm""" % get.installDIR())
|
||||
|
||||
perlmodules.removePodfiles()
|
||||
perlmodules.removePacklist()
|
||||
pisitools.dodoc("Changes*", "Artistic", "Copying", "README", "AUTHORS")
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<IsA>app:console</IsA>
|
||||
<Summary>Larry Wall's Practical Extraction and Reporting Language</Summary>
|
||||
<Description>Perl is a high-level programming language with roots in C, sed, awk and shell scripting. Perl is good at handling processes and files, and is especially good at handling text. Perl's hallmarks are practicality and efficiency. While it is used to do a lot of different things, Perl's most common applications are system administration utilities and web programming. A large proportion of the CGI scripts on the web are written in Perl. You need the perl package installed on your system so that your system can handle Perl scripts.</Description>
|
||||
<Archive sha1sum="ddecb3117c016418b19ed3a8827e4b521b47d6bb" type="targz">https://www.cpan.org/src/5.0/perl-5.32.0.tar.gz</Archive>
|
||||
<Archive sha1sum="bcb6782ae5ddeca45cbcb263bef8cd3dc9040679" type="targz">https://www.cpan.org/src/5.0/perl-5.38.2.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency versionFrom="6.2.23">db-devel</Dependency>
|
||||
<Dependency>gdbm-devel</Dependency>
|
||||
@@ -46,14 +46,22 @@
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="data">/usr/share/perl5</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<!-- FIXME: Update perl version in target path when Perl version changes! -->
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/perl5/vendor_perl/5.30.1/Turkish.pm">Turkish.pm</AdditionalFile>
|
||||
<AdditionalFile owner="root" permission="0644" target="/usr/lib/perl5/vendor_perl/5.38.2/Turkish.pm">Turkish.pm</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="9">
|
||||
<Date>2024-05-14</Date>
|
||||
<Version>5.38.2</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Mustafa Cinasal</Name>
|
||||
<Email>muscnsl@gmail.com</Email>
|
||||
</Update>
|
||||
<Update release="8">
|
||||
<Date>2022-01-28</Date>
|
||||
<Version>5.32.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user