834893a965
We do not need to move binaries around anymore since this commit:
430b559ba2
Removing PROCPS_NG_CONF_OPTS completely leads to binaries being
installed to /usr/bin, we still have to define a custom --exec-prefix
to get binaries in /bin:
libtool: install: /usr/bin/install -c free /home/bernd/buildroot/output/target/bin/free
libtool: install: /usr/bin/install -c pgrep /home/bernd/buildroot/output/target/bin/pgrep
libtool: install: /usr/bin/install -c pkill /home/bernd/buildroot/output/target/bin/pkill
libtool: install: /usr/bin/install -c pmap /home/bernd/buildroot/output/target/bin/pmap
libtool: install: /usr/bin/install -c pwdx /home/bernd/buildroot/output/target/bin/pwdx
libtool: install: /usr/bin/install -c tload /home/bernd/buildroot/output/target/bin/tload
libtool: install: /usr/bin/install -c uptime /home/bernd/buildroot/output/target/bin/uptime
libtool: install: /usr/bin/install -c vmstat /home/bernd/buildroot/output/target/bin/vmstat
libtool: install: /usr/bin/install -c w /home/bernd/buildroot/output/target/bin/w
libtool: install: /usr/bin/install -c pidof /home/bernd/buildroot/output/target/bin/pidof
libtool: install: /usr/bin/install -c kill /home/bernd/buildroot/output/target/bin/kill
libtool: install: /usr/bin/install -c slabtop /home/bernd/buildroot/output/target/bin/slabtop
libtool: install: /usr/bin/install -c watch /home/bernd/buildroot/output/target/bin/watch
libtool: install: /usr/bin/install -c top/top /home/bernd/buildroot/output/target/bin/top
Fixes:
http://autobuild.buildroot.net/results/ab7/ab7ed83d60823c1b023c7b76fcbe9c20d537ed4c//
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: pass --exec-prefix=/ instead of an empty prefix.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
################################################################################
|
|
#
|
|
# procps-ng
|
|
#
|
|
################################################################################
|
|
|
|
PROCPS_NG_VERSION = 3.3.11
|
|
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
|
|
PROCPS_NG_INSTALL_STAGING = YES
|
|
PROCPS_NG_DEPENDENCIES = ncurses host-pkgconf
|
|
# For 0002-use-pkgconfig-for-ncursesw-cflags.patch
|
|
PROCPS_NG_AUTORECONF = YES
|
|
PROCPS_NG_GETTEXTIZE = YES
|
|
|
|
# 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
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
PROCPS_NG_DEPENDENCIES += gettext
|
|
PROCPS_NG_CONF_OPTS += LIBS=-lintl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
|
|
PROCPS_NG_DEPENDENCIES += systemd
|
|
PROCPS_NG_CONF_OPTS += --with-systemd
|
|
else
|
|
PROCPS_NG_CONF_OPTS += --without-systemd
|
|
endif
|
|
|
|
# Make sure binaries get installed in /bin, so that they overwrite
|
|
# their busybox counterparts.
|
|
PROCPS_NG_CONF_OPTS += --exec-prefix=/
|
|
|
|
# Allows unicode characters to show in 'watch'
|
|
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
|
PROCPS_NG_CONF_OPTS += \
|
|
--enable-watch8bit
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|