2022-02-05 14:23:32 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
|
|
|
|
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
|
2023-05-09 19:21:47 +00:00
|
|
|
# Copyright (C) 2023-present Fewtarius
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
PKG_NAME="keyutils"
|
2023-05-09 19:21:47 +00:00
|
|
|
PKG_VERSION="1.6.1"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
PKG_SITE="http://people.redhat.com/~dhowells/keyutils/"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_URL="http://people.redhat.com/~dhowells/keyutils/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
|
2022-02-05 14:23:32 +00:00
|
|
|
PKG_DEPENDS_TARGET="toolchain"
|
|
|
|
PKG_LONGDESC="Keyutils is a set of utilities for managing the key retention facility in the kernel."
|
|
|
|
PKG_BUILD_FLAGS="+pic"
|
|
|
|
|
|
|
|
PKG_MAKE_OPTS_TARGET="NO_ARLIB=0 NO_SOLIB=1 BINDIR=/usr/bin SBINDIR=/usr/sbin LIBDIR=/usr/lib USRLIBDIR=/usr/lib"
|
2023-02-24 13:53:43 +00:00
|
|
|
PKG_MAKEINSTALL_OPTS_TARGET="${PKG_MAKE_OPTS_TARGET}"
|
2022-02-05 14:23:32 +00:00
|
|
|
|
|
|
|
post_makeinstall_target() {
|
2023-02-24 13:53:43 +00:00
|
|
|
rm -rf ${INSTALL}/usr/share
|
|
|
|
rmdir ${INSTALL}/etc/request-key.d
|
|
|
|
ln -sf /storage/.config/request-key.d ${INSTALL}/etc/request-key.d
|
2022-02-05 14:23:32 +00:00
|
|
|
}
|