#!/bin/sh MAKEDEPS="make " DEPS="musl pam" PKG_VER=2.62 SOURCE=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-$PKG_VER.tar.gz DESC="POSIX 1003.1e capabilities" prepare () { sed -i '/install -m.*STA/d' libcap/Makefile } build () { make prefix=/usr lib=lib } check () { make test } package() { make prefix=/usr lib=lib DESTDIR=$PKG_DEST install chmod -v 755 $PKG_DEST/usr/lib/lib{cap,psx}.so.* }