aboutsummaryrefslogblamecommitdiffstats
path: root/testing/ffcall/APKBUILD
blob: 5f1ec050d70cf941ef5eafb66f072aedfb31457f (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                     

          
                                                                                    
                                           
                             
                          




                          
                                                                   
 
                                    

         
                      






                                           

                                    

 




                      
           
                      
                                                                    

 
                                                                                                                                                                   
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=ffcall
pkgver=2.1
pkgrel=0
pkgdesc="C library for implementing foreign function calls in embedded interpreters"
url="http://www.gnu.org/software/libffcall"
arch="all !x86 !armhf !armv7"
license="GPL-2.0-or-later"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="https://ftp.gnu.org/gnu/libffcall/libffcall-$pkgver.tar.gz"

builddir="$srcdir"/libffcall-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make -j1
}

check() {
	cd "$builddir"
	make check
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" htmldir=/usr/share/doc/ffcall install
}

sha512sums="da73375fb45b7d764c06437a517c2a90abf7d5de6afe0a8ca19e6dfafd2a8c7107e39d230ecbc8edfdd5926b16a0c13b7bb9319287047c47de1241b2f6ae805e  libffcall-2.1.tar.gz"