perl: fix package

This commit is contained in:
Dylan Araps 2019-08-30 18:54:18 +00:00
parent 4a6e3fc622
commit 1c255838e7
3 changed files with 9 additions and 14 deletions

View File

@ -1,7 +1,7 @@
#!/bin/sh -e #!/bin/sh -e
BUILD_ZLIB=0 export BUILD_ZLIB=0
BUILD_BZIP2=0 export BUILD_BZIP2=0
./Configure \ ./Configure \
-des \ -des \
@ -36,15 +36,9 @@ BUILD_BZIP2=0
make make
make DESTDIR="$1" install make DESTDIR="$1" install
# Remove all .pod files except for those in: # Remove all .pod/packlist files.
# /usr/share/perl5/core_perl/pod/ find "$1" -name "*.pod" -delete
for d in "$1/usr/share/perl5/core_perl/"*; do
[ -d "$d" ] && [ "${d##*/}" != pod ] && {
find "$d" -name "*.pod" -delete
}
done
# Ditto.
rm -f "$1/usr/share/perl5/core_perl/"*.pod
find "$1/usr/lib" -name \*.pod -delete
find "$1" -name .packlist -delete find "$1" -name .packlist -delete
# Remove all documentation.
rm -rf "$1/usr/share/man"

View File

@ -1 +1,2 @@
bzip2
zlib zlib

View File

@ -1 +1 @@
5.30.0 1 5.30.0 2