From 003727289cc45e29eff0c0c48ad0f9660f96644f Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 15:02:47 +0000 Subject: separated patch, build, check and package stages --- repo/system/libcap.xibuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'repo/system/libcap.xibuild') diff --git a/repo/system/libcap.xibuild b/repo/system/libcap.xibuild index 934af99..42c2e9f 100644 --- a/repo/system/libcap.xibuild +++ b/repo/system/libcap.xibuild @@ -7,16 +7,19 @@ SOURCE=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-$PK DESC="POSIX 1003.1e capabilities" -build () { +patch () { sed -i '/install -m.*STA/d' libcap/Makefile +} +build () { make prefix=/usr lib=lib +} +check () { make test - make prefix=/usr lib=lib DESTDIR=$PKG_DEST install - } package() { + make prefix=/usr lib=lib DESTDIR=$PKG_DEST install chmod -v 755 $PKG_DEST/usr/lib/lib{cap,psx}.so.* } -- cgit v1.2.1