summaryrefslogtreecommitdiff
path: root/repo/system/libffi.xibuild
blob: 23562f7970958f075d5c0ba928ea8c4f71298f44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/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
}

package () {
    make DESTDIR=$PKG_DEST install 
}