mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:14:36 +08:00
28 lines
800 B
Bash
28 lines
800 B
Bash
pkgname=guile
|
|
pkgver=2.0.13
|
|
pkgrel=2
|
|
pkgdesc="Guile is a portable, embeddable Scheme implementation written in C"
|
|
url="http://www.gnu.org/software/guile/"
|
|
arch=('x86_64')
|
|
license=('GPL')
|
|
depends=('gmp' 'libltdl' 'ncurses' 'texinfo' 'libunistring' 'gc' 'libffi')
|
|
install=guile.install
|
|
source=(ftp://ftp.gnu.org/pub/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('dac267e76330176d48583258aeaa7016')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
./configure --prefix=/usr \
|
|
--disable-static \
|
|
--disable-silent-rules \
|
|
--disable-error-on-warning \
|
|
--with-threads
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make -C $pkgname-$pkgver DESTDIR="$pkgdir" install
|
|
install -D -dm755 "$pkgdir"/usr/share/gdb/auto-load/usr/lib
|
|
mv "$pkgdir"/usr/lib/libguile-2.0.so.*-gdb.scm "$pkgdir"/usr/share/gdb/auto-load/usr/lib
|
|
}
|