pcre.build 656 B

1234567891011121314151617181920212223242526272829
  1. cd $tmpdir
  2. # Grab sources for pcre
  3. if [ ! -d $pcresrcdir ]; then
  4. wget $pcremirror/$pcre
  5. tar -xf $pcre
  6. fi
  7. cd $pcresrcdir
  8. ./configure --prefix=$freondir \
  9. --docdir=$freondir/share/doc/pcre-8.41 \
  10. --enable-unicode-properties \
  11. --enable-pcre16 \
  12. --enable-pcre32 \
  13. --enable-pcregrep-libz \
  14. --enable-pcregrep-libbz2 \
  15. --disable-static
  16. make -j$corecount
  17. make install
  18. cd $freondir/lib
  19. ln -s libpcre.so.1 libpcre.so.3 # For some programs within the package repo
  20. cd $tmpdir