blob: 0d080f2c4cd0196d40d4efaba08e74eee5d9c2e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
#!/bin/mkpkg
# description: POSIX 1003.1e capabilities library
# url: https://sites.google.com/site/fullycapable
name=libcap2
version=2.78
release=1
source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.xz)
depends=()
makedeps=()
sha256sums=(
"0d621e562fd932ccf67b9660fb018e468a683d7b827541df27813228c996bb11"
)
build() {
cd libcap-$version
# Remove static library install
sed -i '/install -m.*STA/d' libcap/Makefile
make \
CC=clang \
prefix=/ \
lib=lib \
SBINDIR=/sbin \
INCDIR=/include \
MANDIR=/usr/share/man \
PKGCONFIGDIR=/lib/pkgconfig \
GOLANG=no \
PAM_CAP=no
make \
CC=clang \
prefix=/ \
lib=lib \
SBINDIR=/sbin \
INCDIR=/include \
MANDIR=/usr/share/man \
PKGCONFIGDIR=/lib/pkgconfig \
GOLANG=no \
PAM_CAP=no \
DESTDIR=$PKG \
install
}
signify() {
untrusted comment: public key
RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
}
# vim: filetype=sh
|