mit-scheme-c: add alternatives

This commit is contained in:
Ivan Sokolov 2019-01-03 10:35:54 +03:00 committed by maxice8
parent 668d396f4f
commit a757f9e289
1 changed files with 8 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mit-scheme-c'. # Template file for 'mit-scheme-c'
pkgname=mit-scheme-c pkgname=mit-scheme-c
version=9.2 version=9.2
revision=1 revision=2
build_wrksrc="src" build_wrksrc="src"
short_desc="Implementation of the Scheme programming language" short_desc="Implementation of the Scheme programming language"
maintainer="Andrew Benson <abenson+void@gmail.com>" maintainer="Andrew Benson <abenson+void@gmail.com>"
@ -9,6 +9,10 @@ license="GPL-2.0-or-later"
homepage="https://www.gnu.org/software/mit-scheme/" homepage="https://www.gnu.org/software/mit-scheme/"
distfiles="${GNU_SITE}/mit-scheme/stable.pkg/${version}/mit-scheme-c-${version}.tar.gz" distfiles="${GNU_SITE}/mit-scheme/stable.pkg/${version}/mit-scheme-c-${version}.tar.gz"
checksum=4f6a16f9c7d4b4b7bb3aa53ef523cad39b54ae1eaa3ab3205930b6a87759b170 checksum=4f6a16f9c7d4b4b7bb3aa53ef523cad39b54ae1eaa3ab3205930b6a87759b170
alternatives="
scheme:scheme:/usr/bin/mit-scheme
scheme:scheme.1:/usr/share/man/man1/mit-scheme.1
"
nocross="Tries to build parts of the package with itself" nocross="Tries to build parts of the package with itself"
do_build() { do_build() {
@ -17,4 +21,6 @@ do_build() {
do_install() { do_install() {
make install DESTDIR=${DESTDIR} make install DESTDIR=${DESTDIR}
rm ${DESTDIR}/usr/bin/scheme
vman ../doc/scheme.1 mit-scheme.1
} }