From 92aae137e7a91360c41937bbc53091ef378dc2af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Kabele?= Date: Wed, 9 Aug 2023 09:54:17 +0200 Subject: [PATCH] Add cross/daemon --- cross/daemon/Makefile | 16 ++++++++++++++++ cross/daemon/PLIST | 1 + cross/daemon/digests | 3 +++ .../patches/0001-use-arch-specific-strip.patch | 11 +++++++++++ 4 files changed, 31 insertions(+) create mode 100644 cross/daemon/Makefile create mode 100644 cross/daemon/PLIST create mode 100644 cross/daemon/digests create mode 100644 cross/daemon/patches/0001-use-arch-specific-strip.patch diff --git a/cross/daemon/Makefile b/cross/daemon/Makefile new file mode 100644 index 000000000000..d11f2b1e73c0 --- /dev/null +++ b/cross/daemon/Makefile @@ -0,0 +1,16 @@ +PKG_NAME = daemon +PKG_VERS = 0.8.2 +PKG_EXT = tar.gz +PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT) +PKG_DIST_SITE = https://libslack.org/daemon/download +PKG_DIR = $(PKG_NAME)-$(PKG_VERS) + +DEPENDS = + +HOMEPAGE = https://libslack.org/daemon/ +COMMENT = Daemon turns other processes into daemons. +LICENSE = GPLv2 + +CONFIGURE_ARGS = --disable-logind --destdir=$(INSTALL_DIR) --prefix=$(INSTALL_PREFIX) + +include ../../mk/spksrc.cross-cc.mk diff --git a/cross/daemon/PLIST b/cross/daemon/PLIST new file mode 100644 index 000000000000..f47a54e4ed7f --- /dev/null +++ b/cross/daemon/PLIST @@ -0,0 +1 @@ +bin:bin/daemon diff --git a/cross/daemon/digests b/cross/daemon/digests new file mode 100644 index 000000000000..b149d5847d8f --- /dev/null +++ b/cross/daemon/digests @@ -0,0 +1,3 @@ +daemon-0.8.2.tar.gz SHA1 4f844f20e802550c94653ede0136605282e71bb2 +daemon-0.8.2.tar.gz SHA256 b34b37543bba43bd086e59f4b754c8102380ae5c1728b987c890d5da4b4cf3ca +daemon-0.8.2.tar.gz MD5 d9697d4773415cde3737a519c1aa881c diff --git a/cross/daemon/patches/0001-use-arch-specific-strip.patch b/cross/daemon/patches/0001-use-arch-specific-strip.patch new file mode 100644 index 000000000000..eb8f09ed7e45 --- /dev/null +++ b/cross/daemon/patches/0001-use-arch-specific-strip.patch @@ -0,0 +1,11 @@ +--- rules.mk.1 2023-08-09 09:47:37.854321469 +0200 ++++ rules.mk 2023-08-09 09:47:58.886452546 +0200 +@@ -43,7 +43,7 @@ install-daemon: install-daemon-bin insta + install-daemon-bin: + mkdir -p $(DESTDIR)$(APP_INSDIR) + install -m 755 $(DAEMON_TARGET) $(DESTDIR)$(APP_INSDIR) +- case "$$DEB_BUILD_OPTIONS" in *nostrip*);; *) strip $(patsubst %, $(DESTDIR)$(APP_INSDIR)/%, $(notdir $(DAEMON_TARGET)));; esac ++ case "$$DEB_BUILD_OPTIONS" in *nostrip*);; *) $(STRIP) $(patsubst %, $(DESTDIR)$(APP_INSDIR)/%, $(notdir $(DAEMON_TARGET)));; esac + + install-daemon-man: man-daemon + @mkdir -p $(DESTDIR)$(APP_MANDIR); \