forked from kiss-community/repo
perl: fix package
This commit is contained in:
parent
4a6e3fc622
commit
1c255838e7
@ -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"
|
||||||
|
@ -1 +1,2 @@
|
|||||||
|
bzip2
|
||||||
zlib
|
zlib
|
||||||
|
@ -1 +1 @@
|
|||||||
5.30.0 1
|
5.30.0 2
|
||||||
|
Loading…
Reference in New Issue
Block a user