mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
dcf31c6a1e
--------- Co-authored-by: tiopex <tiopxyz@gmail.com> Co-authored-by: tiopex <67048640+tiopex@users.noreply.github.com>
32 lines
919 B
Makefile
32 lines
919 B
Makefile
################################################################################
|
|
#
|
|
# psmisc
|
|
#
|
|
################################################################################
|
|
|
|
PSMISC_VERSION = 23.1
|
|
PSMISC_SITE = http://downloads.sourceforge.net/project/psmisc/psmisc
|
|
PSMISC_SOURCE = psmisc-$(PSMISC_VERSION).tar.xz
|
|
PSMISC_LICENSE = GPL-2.0+
|
|
PSMISC_LICENSE_FILES = COPYING
|
|
PSMISC_DEPENDENCIES = ncurses $(TARGET_NLS_DEPENDENCIES)
|
|
# Patching Makefile.am
|
|
PSMISC_AUTORECONF = YES
|
|
|
|
define PSMISC_GIT_VERSION_EXEC
|
|
chmod +x $(@D)/misc/git-version-gen
|
|
endef
|
|
PSMISC_POST_PATCH_HOOKS += PSMISC_GIT_VERSION_EXEC
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),)
|
|
# Don't force -fstack-protector when SSP is not available in toolchain
|
|
PSMISC_CONF_OPTS = --disable-harden-flags
|
|
endif
|
|
|
|
# build after busybox, we prefer fat versions while we're at it
|
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|
PSMISC_DEPENDENCIES += busybox
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|