pakur.sh 784 B

12345678910111213141516171819202122
  1. cd "$SRC/$isim-$surum"
  2. # cannot have both SBCL_HOME and INSTALL_ROOT
  3. SBCL_HOME="" INSTALL_ROOT="$PKG/usr" sh install.sh
  4. src/runtime/sbcl --core output/sbcl.core --script "${SRC}/fixes.lisp"
  5. mv sbcl-new.core "${PKG}/usr/lib/sbcl/sbcl.core"
  6. # sources
  7. mkdir -p "$PKG/usr/share/sbcl-source"
  8. cp -R -t "$PKG/usr/share/sbcl-source" "$SRC/$isim-$surum/"{src,contrib}
  9. # license
  10. install -D -m644 "$SRC/$isim-$surum/COPYING" \
  11. "$PKG/usr/share/licenses/$isim/license.txt"
  12. # drop unwanted files
  13. find "$PKG" \( -name Makefile -o -name .cvsignore \) -delete
  14. find "$PKG/usr/share/sbcl-source" -type f \
  15. \( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete
  16. rm "$PKG/usr/share/sbcl-source/src/runtime/sbcl"{,.nm}