From 79c82d8fc0a4f6618429a0373bb832afd105543e Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 27 Feb 2022 00:55:34 +0000 Subject: added all missing libraries and headers that musl doesnt have --- repo/system/musl-fts.xibuild | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 repo/system/musl-fts.xibuild (limited to 'repo/system/musl-fts.xibuild') diff --git a/repo/system/musl-fts.xibuild b/repo/system/musl-fts.xibuild new file mode 100644 index 0000000..daf4841 --- /dev/null +++ b/repo/system/musl-fts.xibuild @@ -0,0 +1,27 @@ +#!/bin/sh + +MAKEDEPS="" +DEPS="musl" + +PKG_VER=1.2.7 +SOURCE=https://github.com/pullmoll/musl-fts/archive/v$PKG_DEST.tar.gz + +DESC="Libraries implementing the set of fts functions missing in musl libc" + +prepare () { + sed -i "/pkgconfig_DATA/i pkgconfigdir=/usr/lib/pkgconfig" Makefile.am + ./bootstrap.sh +} + +build () { + CFLAGS=" -fPIC" \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var + make +} + +package () { + make DESTDIR=$PKG_DEST install +} -- cgit v1.2.1