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
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-10-08 15:19:48 +02:00
|
|
|
PROCPS_NG_VERSION = 3.3.10
|
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
|
|
|
|
|
2014-09-10 16:30:06 +02:00
|
|
|
# We need this to make procps-ng binaries installed in $(TARGET_DIR)/usr
|
|
|
|
# instead of $(TARGET_DIR)/usr/usr
|
2015-03-18 22:44:43 +01:00
|
|
|
PROCPS_NG_CONF_OPTS += \
|
|
|
|
--prefix=/usr \
|
|
|
|
--exec-prefix=/ \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--libdir=/usr/lib \
|
|
|
|
--bindir=/usr/bin \
|
|
|
|
--sbindir=/usr/sbin
|
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
|
|
|
|
|
2014-06-02 22:27:22 +02:00
|
|
|
$(eval $(autotools-package))
|