2018-10-19 13:25:16 +02:00
|
|
|
PKG_NAME = setsid
|
|
|
|
PKG_URL = https://github.com/tzvetkoff/setsid-macosx
|
|
|
|
PKG_VERSION = e5b851df41591021baf5cf88d4e41572baf8e08b
|
|
|
|
PKG_LICENSE = BSD-2-Clause
|
2020-07-10 11:27:35 +02:00
|
|
|
|
|
|
|
# manually set some RIOT env vars, so this Makefile can be called stand-alone
|
|
|
|
RIOTBASE ?= $(CURDIR)/../../..
|
|
|
|
RIOTTOOLS ?= $(CURDIR)/..
|
2018-10-19 13:25:16 +02:00
|
|
|
|
2020-06-13 21:03:07 +02:00
|
|
|
PKG_SOURCE_DIR = $(CURDIR)/bin
|
|
|
|
PKG_BUILD_OUT_OF_SOURCE = 0
|
2019-10-02 12:47:02 +02:00
|
|
|
include $(RIOTBASE)/pkg/pkg.mk
|
2018-10-19 13:25:16 +02:00
|
|
|
|
2020-07-10 11:27:35 +02:00
|
|
|
all: $(CURDIR)/setsid
|
|
|
|
|
|
|
|
$(CURDIR)/setsid:
|
2018-10-19 13:25:16 +02:00
|
|
|
@echo "[INFO] compiling setsid from source now"
|
2020-07-10 11:27:35 +02:00
|
|
|
$(MAKE) BINDIR=$(PKG_BUILD_DIR) -C $(PKG_SOURCE_DIR)
|
2020-06-13 21:03:07 +02:00
|
|
|
@mv $(PKG_SOURCE_DIR)/setsid $(CURDIR)/setsid
|
2018-10-19 13:25:16 +02:00
|
|
|
|
2020-07-10 11:27:35 +02:00
|
|
|
clean::
|
|
|
|
rm -f $(CURDIR)/setsid
|