diff options
author | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-16 15:02:47 +0000 |
commit | 003727289cc45e29eff0c0c48ad0f9660f96644f (patch) | |
tree | 0fd7f0ac830dee29984262980b8c144e26aa09ba /repo/system/libcap.xibuild | |
parent | d2d97f84d5c037d7a6b8db6c497a5987030b7335 (diff) |
separated patch, build, check and package stages
Diffstat (limited to 'repo/system/libcap.xibuild')
-rw-r--r-- | repo/system/libcap.xibuild | 9 |
1 files changed, 6 insertions, 3 deletions
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.* } |