quicklisp

This commit is contained in:
milisbir 2018-01-22 05:02:40 +02:00
parent 78d71c7703
commit 776b05da7d
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# Tanım: Common Lisp için kütüphane yöneticisi
# URL: https://www.quicklisp.org
# Paketçi: milisarge
# Gerekler: sbcl
# Grup: geliştirme
isim=quicklisp
surum=20150128
devir=1
kaynak=(https://beta.quicklisp.org/quicklisp.lisp)
derle() {
echo $(awk '/qlqs-info/ {print $3}' $isim.lisp |tr -d - |tr -d \))
echo -ne "(quicklisp-quickstart:install :path \"$PKG/usr/lib/$isim\")\n(quit)\n" | sbcl --no-userinit --load $isim.lisp
chmod 777 -R "$PKG"/usr/lib/$isim/dists
chmod 777 -R "$PKG"/usr/lib/$isim/local-projects
install -d "$PKG"/etc/default
echo -ne "(load \"/usr/lib/$isim/setup\")\n" > "$PKG"/etc/default/$isim
}