netsurf.build 422 B

12345678910111213141516171819202122232425
  1. cd $tmpdir
  2. # Grab latest sources for freetype
  3. if [ ! -d $netsurfsrcdir ]; then
  4. wget $netsurfmirror/$netsurf
  5. tar -xf $netsurf
  6. fi
  7. cd $netsurfsrcdir
  8. cat > env.sh <<'EOF'
  9. #!/bin/sh
  10. export PKG_CONFIG_PATH=/freon/lib/pkgconfig::
  11. export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/freon/lib
  12. export PREFIX=/freon
  13. EOF
  14. chmod +x env.sh
  15. ./env.sh
  16. make PREFIX=$freondir -j$corecount install
  17. cd $tmpdir