From 480aaf9f5b6ce2a2b73d571f721b020f20b3fc44 Mon Sep 17 00:00:00 2001 From: sulincix Date: Sun, 6 Nov 2022 18:44:15 +0000 Subject: [PATCH] libffi --- libffi/ympbuild | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 libffi/ympbuild diff --git a/libffi/ympbuild b/libffi/ympbuild new file mode 100644 index 00000000..7966581a --- /dev/null +++ b/libffi/ympbuild @@ -0,0 +1,25 @@ +#!/bin/bash +name=libffi +release=1 +version=3.4.4 +url='https://gitlab.com/sulinos/devel/ymp' +description='A portable foreign-function interface library. ' +email='parduscix@yandex.ru' +maintainer='sulincix' +license=('GPLv3') +source=('https://github.com/libffi/libffi/releases/download/v3.4.4/libffi-3.4.4.tar.gz') +md5sums=('0da1a5ed7786ac12dcbaf0d499d8a049') # replace this +arch=(x86_64) + +cd "$name-$version" + +setup(){ + ./configure --prefix=/usr \ + --libdir=/lib64 +} +build(){ + make -j`nproc` +} +package(){ + make -j`nproc` install +}