summaryrefslogblamecommitdiff
path: root/user/guile/APKBUILD
blob: c3656c9e01ce7d37fef61eaa836e55a2f643033e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
              
            

                                                                 
                                                                      

                                                                            
          
                          
                                                                           
                                                                


                                                                       








                                            


                                          
                                                                                                                                                                
                                                                                                                                                                                                  
# Maintainer: 
pkgname=guile
pkgver=2.2.6
pkgrel=0
pkgdesc="Portable, embeddable Scheme implementation written in C"
url="https://www.gnu.org/software/guile/"
arch="all !ppc"  # https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26854
options="!check !dbg"  # Requires actual LC_COLLATE and LC_MONETARY support.
license="LGPL-3.0+ AND GPL-3.0+"
subpackages="$pkgname-dev $pkgname-doc $pkgname-libs"
depends=""
depends_dev="guile gc-dev"
makedepends="gc-dev gmp-dev libffi-dev libtool libunistring-dev ncurses-dev
	texinfo"
source="https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
	0002-Mark-mutex-with-owner-not-retained-threads-test-as-u.patch
	"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-error-on-warning \
		--disable-static
	make
}

package() {
	make DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/lib/charset.alias
}

sha512sums="6a9264c2e10def5e69a0e755fb28a5f09b98bc202660d742b0ee144d4f486b049dcbce8bcece79c3af9421d43df6eca36adf82798520f75b09303f5e8c2092af  guile-2.2.6.tar.gz
b1c309cc07830ff1741ef88857f8099187b449580e8d57862886abc367ef1accc5a35636d81eee09247f13d3a751cdc8909fdea05368d3d509bd2039ce06d078  0002-Mark-mutex-with-owner-not-retained-threads-test-as-u.patch"