repo/perl/build

19 lines
522 B
Text
Raw Permalink Normal View History

2021-07-16 03:05:23 +03:00
if [ ! -f $1/etc/hosts ]; then
echo "127.0.0.1 localhost $(hostname)" > $1/etc/hosts
else
#do nothing
fi
export BUILD_ZLIB=False
export BUILD_BZIP2=0
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
make DESTDIR="$1" install