26 lines
849 B
Bash
26 lines
849 B
Bash
# Maintainer: Jesus E. <heckyel@riseup.net>
|
|
|
|
pkgname=ffcall
|
|
pkgver=2.2
|
|
pkgrel=1
|
|
pkgdesc='C library for implementing foreign function calls in embedded interpreters'
|
|
arch=('i686' 'x86_64')
|
|
url='https://www.gnu.org/software/libffcall/'
|
|
license=('GPL-2')
|
|
options=('!makeflags' 'staticlibs')
|
|
source=("https://ftp.gnu.org/gnu/libffcall/libffcall-${pkgver}.tar.gz")
|
|
sha512sums=('b9d3ca4c67ab92915a8183d850153e585dcb58ceb2199a104426a7aae363d37017b1226440acd18a2db0cc207e044f71e932857189964261e8eaa6de5cef1731')
|
|
|
|
build() {
|
|
cd "lib${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr --mandir=/usr/share/man --with-pic
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "lib${pkgname}-${pkgver}"
|
|
install -d "${pkgdir}"/usr/share/{man,doc/ffcall}
|
|
make DESTDIR="${pkgdir}" htmldir=/usr/share/doc/ffcall install
|
|
install -Dm644 COPYING -t "${pkgdir}/usr/share/licenses/$pkgname"
|
|
}
|