Check-in [464c2fea8f]
Overview
Comment:Added libcap package
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | packages
Files: files | file ages | folders
SHA1: 464c2fea8fe596032eca15d8cf3e8bca23f93566
User & Date: rkeene on 2014-11-12 08:29:21
Other Links: branch diff | manifest | tags
Context
2014-11-12
08:39
Fixed issue where libraries for libcap were located in wrong place check-in: 3e742f1756 user: rkeene tags: packages
08:29
Added libcap package check-in: 464c2fea8f user: rkeene tags: packages
08:18
Added ACL package check-in: 2174a44d80 user: rkeene tags: packages
Changes

Added pkgs/libcap version [d39ce82398].















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#! /usr/bin/env bash

version='2.24'
url="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-${version}.tar.xz"
domain=core.appfs.rkeene.org
sha256='cee4568f78dc851d726fc93f25f4ed91cc223b1fe8259daa4a77158d174e6c65'
require=(attr)

function configure() {
	:
}

function build() {
	local dynamiclinker

	dynamiclinker="$(echo " ${LDFLAGS} " | sed 's@^.* -Wl,--dynamic-linker,@@;s@ .*$@@')"

	make prefix="${prefix}" lib="${dynamiclinker}"
}

function install() {
	make prefix="${prefix}" lib="${dynamiclinker}" DESTDIR="${destdir}" RAISE_SETFCAP='no' install 
}