summaryrefslogtreecommitdiff
path: root/repo/system/libffi.xibuild
blob: 707ad04bdb8ae8a65cdbd001defd0662bfe41bdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

DEPS=(glibc)

PKG_VER=3.4.2
SOURCE=https://github.com/libffi/libffi/releases/download/v$PKG_VER/libffi-$PKG_VER.tar.gz
DESC="Portable foreign function interface library"

build () {
    ./configure --prefix=/usr --disable-static --with-gcc-arch=native --disable-exec-static-tramp
    make
    make DESTDIR=$PKG_DEST install 
}