milis/talimatname/genel/q/quicklisp/talimat

20 lines
638 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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
}