diff --git a/dist/tools/setsid/.gitignore b/dist/tools/setsid/.gitignore new file mode 100644 index 0000000000..3dd9233a7a --- /dev/null +++ b/dist/tools/setsid/.gitignore @@ -0,0 +1,2 @@ +setsid +bin diff --git a/dist/tools/setsid/Makefile b/dist/tools/setsid/Makefile new file mode 100644 index 0000000000..164392026f --- /dev/null +++ b/dist/tools/setsid/Makefile @@ -0,0 +1,17 @@ +PKG_NAME = setsid +PKG_URL = https://github.com/tzvetkoff/setsid-macosx +PKG_VERSION = e5b851df41591021baf5cf88d4e41572baf8e08b +PKG_LICENSE = BSD-2-Clause +PKG_BUILDDIR = $(CURDIR)/bin + +.PHONY: all + +all: git-download + @echo "[INFO] compiling setsid from source now" + $(MAKE) BINDIR=$(PKG_BUILDDIR) -C $(PKG_BUILDDIR) + @mv $(PKG_BUILDDIR)/setsid $(CURDIR)/setsid + +distclean:: + @rm -f $(CURDIR)/setsid + +include $(RIOTBASE)/pkg/pkg.mk