diff options
author | Cem Keylan <cem@ckyln.com> | 2022-08-31 11:01:43 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2022-08-31 11:01:43 +0300 |
commit | 8a36156e4faf454c4b500876ad369ac983c035fd (patch) | |
tree | cbf8d0c9ea33120f51da067921e68df1c2c749f4 /community/libcap/build | |
parent | 45460460df94ddc5d6583c6687e72f186fe2128e (diff) | |
download | repository-8a36156e4faf454c4b500876ad369ac983c035fd.tar.gz |
libcap: add new package at 2.65
Diffstat (limited to 'community/libcap/build')
-rwxr-xr-x | community/libcap/build | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/libcap/build b/community/libcap/build new file mode 100755 index 00000000..c35c2254 --- /dev/null +++ b/community/libcap/build @@ -0,0 +1,19 @@ +#!/bin/sh -e + +sed -i '45d;46d' progs/Makefile + +mk() { + make \ + GOLANG=no \ + PREFIX=/usr \ + SBINDIR=/usr/bin \ + LIBDIR=/usr/lib \ + PKGCONFIGDIR=/usr/lib/pkgconfig \ + RAISE_SETFCAP=no \ + INDENT=" " \ + PAM_CAP=no \ + "$@" +} + +mk +mk DESTDIR="$1" install |