summaryrefslogtreecommitdiff
path: root/repo/system/libffi.xibuild
blob: d802142ce61896c679f69544d67d786ed9efd07c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

MAKEDEPS="make "
DEPS="musl"

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 
}