PaganOS Luna 0.6.0
PL EN DE
🔒 Repository is read-only – file editing is disabled.

recipes/utils/guile/PAGBUILD.yaml main

61 lines Raw ← Back
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
pkgname: guile
pkgver: '3.0.11'
pkgrel: '3'
pkgdesc: 'Guile is an interpreter and compiler for the Scheme programming language.'
url: 'http://www.gnu.org/software/guile/guile.html'
arch: x86_64
depends:
- gc
- gmp
- libffi
- libunistring
- libxcrypt
- ncurses
- readline
makedepends:
- gc
- libunistring
- libffi
- libtool
- gmp
- libxcrypt

source:
- 'https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  ./configure \
      --prefix=/usr \
      --disable-static \
      --docdir=/usr/share/doc/guile-${pkgver}

  make
  make html

  makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi 
  makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi

  make DESTDIR=${PKGDIR} install

  install -v -m755 -d  ${PKGDIR}/usr/share/gdb/auto-load/usr/lib
  mv ${PKGDIR}/usr/lib/libguile-*-gdb.scm ${PKGDIR}/usr/share/gdb/auto-load/usr/lib

  install -v -m755 -d  ${PKGDIR}/usr/share/doc/guile-${pkgver}

  find examples -name "Makefile*" -delete   
  cp -vR examples ${PKGDIR}/usr/share/doc/guile-${pkgver}
  for DIRNAME in r5rs ref
  do
    install -v -m755 -d  ${PKGDIR}/usr/share/doc/guile-${pkgver}/${DIRNAME}
    install -v -m644  doc/${DIRNAME}/*.txt \
    ${PKGDIR}/usr/share/doc/guile-${pkgver}/${DIRNAME}
  done
  unset DIRNAME

package: |
  true