moved everything to different stages
This commit is contained in:
22
stage/chroot/pcre2.bash
Normal file
22
stage/chroot/pcre2.bash
Normal file
@@ -0,0 +1,22 @@
|
||||
fetch $PCRE2_URL
|
||||
|
||||
sudo chroot "$SYSROOT" /usr/bin/env -i MAKEFLAGS="$MAKEFLAGS" PATH=/usr/bin:/usr/sbin SOURCES=/sources PCRE2_VERSION=$PCRE2_VERSION /usr/bin/bash <<- "EOF"
|
||||
set -euo pipefail
|
||||
|
||||
cd "$SOURCES" && tar xf pcre2-$PCRE2_VERSION.tar.gz && cd pcre2-$PCRE2_VERSION
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-unicode \
|
||||
--enable-jit \
|
||||
--enable-pcre2-16 \
|
||||
--enable-pcre2-32 \
|
||||
--enable-pcre2grep-libz \
|
||||
--enable-pcre2grep-libbz2 \
|
||||
--enable-pcre2test-libreadline \
|
||||
--disable-static
|
||||
|
||||
make && make install
|
||||
|
||||
cd "$SOURCES" && rm -rf pcre2-$PCRE2_VERSION
|
||||
EOF
|
||||
Reference in New Issue
Block a user