summaryrefslogtreecommitdiff
path: root/repo/core/libcap.xibuild
blob: 01bc41418887ef1d5fd6c24ee29f8ff138cf0a60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

DEPS=(glibc pam)

SOURCE=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-2.62.tar.gz

DESC="POSIX 1003.1e capabilities"

build () {
    sed -i '/install -m.*STA/d' libcap/Makefile

    make prefix=/usr lib=lib

    make test
    make prefix=/usr lib=lib DESTDIR=$PKG_DEST install

}

package() {
    chmod -v 755 $PKG_DEST/usr/lib/lib{cap,psx}.so.*
}