mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 15:27:13 +08:00
added guile1.8 as legacy version
This commit is contained in:
parent
535fabd98f
commit
fcafaaa7d6
31
guile1.8/PKGBUILD
Normal file
31
guile1.8/PKGBUILD
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
# maintainer (x86_64): AlmAck <almack[at]chakraos[dog]org>
|
||||
|
||||
pkgname=guile1.8
|
||||
pkgver=1.8.8
|
||||
pkgrel=1
|
||||
pkgdesc='Portable, embeddable Scheme implementation written in C. Legacy branch. Legacy branch.'
|
||||
url="http://www.gnu.org/software/guile/"
|
||||
arch=('x86_64')
|
||||
license=('GPL')
|
||||
depends=('gmp' 'libtool' 'ncurses>=5.7' 'texinfo')
|
||||
source=(ftp://ftp.gnu.org/pub/gnu/guile/guile-$pkgver.tar.gz)
|
||||
md5sums=('18661a8fdfef13e2fcb7651720aa53f3')
|
||||
|
||||
build() {
|
||||
cd guile-$pkgver
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--disable-error-on-warning \
|
||||
--program-suffix=1.8
|
||||
make LDFLAGS+="-lpthread"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd guile-$pkgver
|
||||
make DESTDIR="$pkgdir" install
|
||||
|
||||
rm -rf "$pkgdir"/usr/share/info
|
||||
sed -i '1s/guile/guile1.8/' -i "$pkgdir"/usr/bin/guile-config1.8
|
||||
mv "$pkgdir"/usr/share/aclocal/guile.m4 "$pkgdir"/usr/share/aclocal/guile18.m4
|
||||
}
|
Loading…
Reference in New Issue
Block a user