summaryrefslogtreecommitdiff
path: root/user/libffcall
diff options
context:
space:
mode:
authorA. Wilcox <awilcox@wilcox-tech.com>2020-05-06 00:51:32 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2020-05-06 00:51:32 +0000
commit7d6a83dbf478235cc84f3cdbd0d1ccb82c8514a1 (patch)
tree290688ea7dfda33ec5597726676a2b652712b4cc /user/libffcall
parentf0b42a82699bb782fd074517ca488f1de239e623 (diff)
parentf2aa66f3081104339eaa412f78ee35732c05ea2f (diff)
downloadpackages-7d6a83dbf478235cc84f3cdbd0d1ccb82c8514a1.tar.gz
packages-7d6a83dbf478235cc84f3cdbd0d1ccb82c8514a1.tar.bz2
packages-7d6a83dbf478235cc84f3cdbd0d1ccb82c8514a1.tar.xz
packages-7d6a83dbf478235cc84f3cdbd0d1ccb82c8514a1.zip
Merge branch 'common-lisp' into 'master'
user/clisp and experimental/sbcl + deps See merge request adelie/packages!438
Diffstat (limited to 'user/libffcall')
-rw-r--r--user/libffcall/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/user/libffcall/APKBUILD b/user/libffcall/APKBUILD
new file mode 100644
index 000000000..a3bdfde1a
--- /dev/null
+++ b/user/libffcall/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Contributor: Will Sinatra <wpsinatra@gmail.com>
+# Contributor: Lee Starnes <lee@canned-death.us>
+# Maintainer: Lee Starnes <lee@canned-death.us>
+pkgname=libffcall
+pkgver=2.2
+pkgrel=0
+pkgdesc="C library for implementing foreign function calls in embedded interpreters"
+url="https://www.gnu.org/software/libffcall"
+arch="all"
+license="GPL-2.0+"
+depends=""
+makedepends=""
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://ftp.gnu.org/gnu/libffcall/libffcall-$pkgver.tar.gz"
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ # Fails to build if building in parallel
+ make -j1
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" htmldir=/usr/share/doc/ffcall install
+
+}
+
+sha512sums="b9d3ca4c67ab92915a8183d850153e585dcb58ceb2199a104426a7aae363d37017b1226440acd18a2db0cc207e044f71e932857189964261e8eaa6de5cef1731 libffcall-2.2.tar.gz"