mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
procps-ng: build and install libprocps.a
This commit is contained in:
parent
abc9d658a2
commit
8bfb08e555
@ -9,6 +9,7 @@ PKG_SITE="https://gitlab.com/procps-ng/procps"
|
||||
PKG_URL="$SOURCEFORGE_SRC/$PKG_NAME/Production/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||
PKG_DEPENDS_TARGET="toolchain ncurses"
|
||||
PKG_LONGDESC="Command line and full screen utilities for browsing procfs."
|
||||
PKG_BUILD_FLAGS="+pic"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||
ac_cv_func_realloc_0_nonnull=yes \
|
||||
@ -16,7 +17,13 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_malloc_0_nonnull=yes \
|
||||
--disable-modern-top \
|
||||
--enable-static"
|
||||
|
||||
PKG_MAKE_OPTS_TARGET="top/top proc/libprocps.la proc/libprocps.pc"
|
||||
|
||||
PKG_MAKEINSTALL_OPTS_TARGET="install-libLTLIBRARIES install-pkgconfigDATA"
|
||||
|
||||
makeinstall_target() {
|
||||
mkdir -p $INSTALL/usr/bin
|
||||
cp -P $PKG_BUILD/.$TARGET_NAME/top/top $INSTALL/usr/bin
|
||||
|
||||
make DESTDIR=$SYSROOT_PREFIX -j1 $PKG_MAKEINSTALL_OPTS_TARGET
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user