From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/libcap/libcap.xibuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 repo/libcap/libcap.xibuild (limited to 'repo/libcap') diff --git a/repo/libcap/libcap.xibuild b/repo/libcap/libcap.xibuild new file mode 100644 index 0000000..dab917e --- /dev/null +++ b/repo/libcap/libcap.xibuild @@ -0,0 +1,29 @@ +#!/bin/sh + +MAKEDEPS="make " +DEPS="musl pam" + +PKG_VER=2.62 +SOURCE=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-$PKG_VER.tar.gz + +DESC="POSIX 1003.1e capabilities" + +prepare () { + sed -i '/install -m.*STA/d' libcap/Makefile + sed -i 's/xargs -e/xargs /g' pam_cap/Makefile +} + +build () { + make prefix=/usr lib=lib +} + +check () { + make test +} + +package() { + make prefix=/usr lib=lib DESTDIR=$PKG_DEST install + chmod 755 $PKG_DEST/usr/lib/libcap.so.* + chmod 755 $PKG_DEST/usr/lib/libpsx.so.* + +} -- cgit v1.2.1