Skip to content

Commit

Permalink
Add cross/daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
vitkabele authored and Vít Kabele committed Aug 9, 2023
1 parent 4e02ce8 commit 92aae13
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
16 changes: 16 additions & 0 deletions cross/daemon/Makefile
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions cross/daemon/PLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin:bin/daemon
3 changes: 3 additions & 0 deletions cross/daemon/digests
Original file line number Diff line number Diff line change
@@ -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
11 changes: 11 additions & 0 deletions cross/daemon/patches/0001-use-arch-specific-strip.patch
Original file line number Diff line number Diff line change
@@ -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); \

0 comments on commit 92aae13

Please sign in to comment.