mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-22 01:06:30 +00:00
32 lines
1.2 KiB
Makefile
32 lines
1.2 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
|
|
|
|
PKG_NAME="procps-ng"
|
|
PKG_VERSION="3.3.17"
|
|
PKG_SHA256="8374d281f91e5fc9bb9ea8dc991b25331e3a2b0299b46f22c633f7fb6bcb0764"
|
|
PKG_LICENSE="GPL"
|
|
PKG_SITE="https://gitlab.com/procps-ng/procps"
|
|
PKG_URL="https://gitlab.com/procps-ng/procps/-/archive/v${PKG_VERSION}/procps-v${PKG_VERSION}.tar.bz2"
|
|
PKG_DEPENDS_TARGET="toolchain ncurses"
|
|
PKG_LONGDESC="Command line and full screen utilities for browsing procfs."
|
|
PKG_TOOLCHAIN="autotools"
|
|
PKG_BUILD_FLAGS="+pic"
|
|
|
|
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
|
ac_cv_func_realloc_0_nonnull=yes \
|
|
--disable-shared \
|
|
--disable-modern-top \
|
|
--enable-static"
|
|
|
|
PKG_MAKE_OPTS_TARGET="free top/top proc/libprocps.la proc/libprocps.pc"
|
|
|
|
PKG_MAKEINSTALL_OPTS_TARGET="install-libLTLIBRARIES install-pkgconfigDATA install-proc_libprocps_la_includeHEADERS"
|
|
|
|
makeinstall_target() {
|
|
mkdir -p ${INSTALL}/usr/bin
|
|
cp -P ${PKG_BUILD}/.${TARGET_NAME}/free ${INSTALL}/usr/bin
|
|
cp -P ${PKG_BUILD}/.${TARGET_NAME}/top/top ${INSTALL}/usr/bin
|
|
|
|
make DESTDIR=${SYSROOT_PREFIX} -j1 ${PKG_MAKEINSTALL_OPTS_TARGET}
|
|
}
|