2014-06-02 22:27:22 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
2014-06-24 09:34:20 +02:00
|
|
|
# procps-ng
|
2014-06-02 22:27:22 +02:00
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-08-31 10:18:05 +02:00
|
|
|
PROCPS_NG_VERSION = 3.3.12
|
2014-06-02 22:27:22 +02:00
|
|
|
PROCPS_NG_SOURCE = procps-ng-$(PROCPS_NG_VERSION).tar.xz
|
|
|
|
PROCPS_NG_SITE = http://downloads.sourceforge.net/project/procps-ng/Production
|
|
|
|
PROCPS_NG_LICENSE = GPLv2+, libproc and libps LGPLv2+
|
|
|
|
PROCPS_NG_LICENSE_FILES = COPYING COPYING.LIB
|
2014-09-02 16:57:33 +02:00
|
|
|
PROCPS_NG_INSTALL_STAGING = YES
|
2015-04-04 17:27:44 +02:00
|
|
|
PROCPS_NG_DEPENDENCIES = ncurses host-pkgconf
|
2015-04-08 00:50:06 +02:00
|
|
|
# For 0002-use-pkgconfig-for-ncursesw-cflags.patch
|
|
|
|
PROCPS_NG_AUTORECONF = YES
|
2015-04-10 20:26:49 +02:00
|
|
|
PROCPS_NG_GETTEXTIZE = YES
|
2014-06-02 22:27:22 +02:00
|
|
|
|
2014-09-10 16:30:06 +02:00
|
|
|
# If both procps-ng and busybox are selected, make certain procps-ng
|
|
|
|
# wins the fight over who gets to have their utils actually installed.
|
|
|
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
|
|
PROCPS_NG_DEPENDENCIES += busybox
|
|
|
|
endif
|
|
|
|
|
2014-08-21 15:56:07 +02:00
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
2014-06-03 12:11:14 +02:00
|
|
|
PROCPS_NG_DEPENDENCIES += gettext
|
2014-09-27 21:32:44 +02:00
|
|
|
PROCPS_NG_CONF_OPTS += LIBS=-lintl
|
2014-06-03 12:11:14 +02:00
|
|
|
endif
|
|
|
|
|
2015-03-18 22:44:42 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
|
|
PROCPS_NG_DEPENDENCIES += systemd
|
|
|
|
PROCPS_NG_CONF_OPTS += --with-systemd
|
|
|
|
else
|
|
|
|
PROCPS_NG_CONF_OPTS += --without-systemd
|
|
|
|
endif
|
|
|
|
|
2016-02-01 23:21:27 +01:00
|
|
|
# Make sure binaries get installed in /bin, so that they overwrite
|
|
|
|
# their busybox counterparts.
|
2016-03-26 14:27:36 +01:00
|
|
|
# Make sure libprocps.pc is installed in STAGING_DIR/usr/lib/pkgconfig/
|
|
|
|
# otherwise it's installed in STAGING_DIR/lib/pkgconfig/ breaking
|
|
|
|
# pkg-config --libs libprocps.
|
|
|
|
PROCPS_NG_CONF_OPTS += --exec-prefix=/ \
|
|
|
|
--libdir=/usr/lib
|
2014-09-10 16:30:06 +02:00
|
|
|
|
2015-03-18 22:44:44 +01:00
|
|
|
# Allows unicode characters to show in 'watch'
|
|
|
|
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
|
|
|
PROCPS_NG_CONF_OPTS += \
|
|
|
|
--enable-watch8bit
|
|
|
|
endif
|
|
|
|
|
2016-08-07 11:19:11 +02:00
|
|
|
# numa support requires libdl, so explicitly disable it when
|
|
|
|
# BR2_STATIC_LIBS=y
|
|
|
|
ifeq ($(BR2_STATIC_LIBS),y)
|
|
|
|
PROCPS_NG_CONF_OPTS += --disable-numa
|
|
|
|
endif
|
|
|
|
|
2014-06-02 22:27:22 +02:00
|
|
|
$(eval $(autotools-package))
|