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

MAKEDEPS="make "
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 
}