sbcl: add sbcl-source package, set it up correctly
This commit is contained in:
parent
a5f0adf384
commit
9e9f0ef7a6
|
@ -0,0 +1 @@
|
|||
sbcl
|
|
@ -0,0 +1,3 @@
|
|||
(setf (logical-pathname-translations "SYS")
|
||||
'(("SYS:SRC;**;*.*.*" #p"/usr/lib/sbcl/src/**/*.*")
|
||||
("SYS:CONTRIB;**;*.*.*" #p"/usr/lib/sbcl/**/*.*")))
|
|
@ -1,8 +1,9 @@
|
|||
# Template file for 'sbcl'
|
||||
pkgname=sbcl
|
||||
version=1.2.2
|
||||
revision=1
|
||||
revision=2
|
||||
makedepends="zlib-devel"
|
||||
conf_files="/etc/sbclrc"
|
||||
short_desc="Steel Bank Common Lisp"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="custom"
|
||||
|
@ -38,4 +39,17 @@ do_build() {
|
|||
do_install() {
|
||||
SBCL_HOME="" INSTALL_ROOT="$DESTDIR/usr" sh install.sh
|
||||
vlicense COPYING LICENSE
|
||||
vconf ${FILESDIR}/sbclrc
|
||||
}
|
||||
|
||||
sbcl-source_package() {
|
||||
noarch=yes
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" -- source files"
|
||||
pkg_install() {
|
||||
cd $wrksrc
|
||||
./clean.sh
|
||||
vmkdir usr/lib/sbcl
|
||||
vcopy src usr/lib/sbcl
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue