mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-28 19:53:01 +02:00
When running `make legal-info` Buildroot will collect source and licenses for all packages, which generates a few warnings for our local packages. Local packages are skipped. > The source code for packages that set <PKG>_REDISTRIBUTE = NO will not > be saved. Patches that were applied are also saved, along with a file > named series that lists the patches in the order they were applied. Hence, setting 'foo_REDISTRIBUTE = NO' disables the warning, which seems like a good idea to reduce the number of unnecessary questions we might otherwise get. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
32 lines
896 B
Makefile
32 lines
896 B
Makefile
################################################################################
|
|
#
|
|
# statd
|
|
#
|
|
################################################################################
|
|
|
|
STATD_VERSION = 1.0
|
|
STATD_SITE_METHOD = local
|
|
STATD_SITE = $(BR2_EXTERNAL_INFIX_PATH)/src/statd
|
|
STATD_LICENSE = BSD-3-Clause
|
|
STATD_LICENSE_FILES = LICENSE
|
|
STATD_REDISTRIBUTE = NO
|
|
STATD_DEPENDENCIES = sysrepo libev libsrx jansson
|
|
|
|
define STATD_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
LDFLAGS="$(TARGET_LDFLAGS)"
|
|
endef
|
|
|
|
define STATD_INSTALL_TARGET_CMDS
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
DESTDIR="$(TARGET_DIR)" install
|
|
endef
|
|
|
|
define STATD_INSTALL_EXTRA
|
|
cp $(STATD_PKGDIR)/statd.conf $(FINIT_D)/available/
|
|
ln -sf ../available/statd.conf $(FINIT_D)/enabled/statd.conf
|
|
endef
|
|
STATD_TARGET_FINALIZE_HOOKS += STATD_INSTALL_EXTRA
|
|
|
|
$(eval $(generic-package))
|