mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
sbcl: add sbcl-source package, set it up correctly
This commit is contained in:
parent
a5f0adf384
commit
9e9f0ef7a6
3 changed files with 19 additions and 1 deletions
1
srcpkgs/sbcl-source
Symbolic link
1
srcpkgs/sbcl-source
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
sbcl
|
3
srcpkgs/sbcl/files/sbclrc
Normal file
3
srcpkgs/sbcl/files/sbclrc
Normal file
|
@ -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'
|
# Template file for 'sbcl'
|
||||||
pkgname=sbcl
|
pkgname=sbcl
|
||||||
version=1.2.2
|
version=1.2.2
|
||||||
revision=1
|
revision=2
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
|
conf_files="/etc/sbclrc"
|
||||||
short_desc="Steel Bank Common Lisp"
|
short_desc="Steel Bank Common Lisp"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="custom"
|
license="custom"
|
||||||
|
@ -38,4 +39,17 @@ do_build() {
|
||||||
do_install() {
|
do_install() {
|
||||||
SBCL_HOME="" INSTALL_ROOT="$DESTDIR/usr" sh install.sh
|
SBCL_HOME="" INSTALL_ROOT="$DESTDIR/usr" sh install.sh
|
||||||
vlicense COPYING LICENSE
|
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…
Add table
Reference in a new issue