summaryrefslogtreecommitdiff
path: root/package/libseat/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-08-20 10:52:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2024-08-26 10:21:11 +0200
commite8c91541ecccd1233aee10525875943722508d2d (patch)
tree6ca893fadacfce3940a011cad28b473790cb5c93 /package/libseat/Makefile
parenta518166bee2de64f405ad6f8026d097c3ced53e0 (diff)
libseat: add seatd subpackage
Diffstat (limited to 'package/libseat/Makefile')
-rw-r--r--package/libseat/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/libseat/Makefile b/package/libseat/Makefile
index 5de79f974..3c3b85d01 100644
--- a/package/libseat/Makefile
+++ b/package/libseat/Makefile
@@ -11,14 +11,23 @@ PKG_DESCR:= seat library
PKG_SECTION:= libs/misc
PKG_URL:= https://git.sr.ht/~kennylevinsen/seatd/
PKG_SITES:= https://git.sr.ht/~kennylevinsen/seatd/archive/
+PKG_LIBNAME:= libseat
PKG_OPTS:= dev
+PKG_SUBPKGS:= LIBSEAT SEATD
+PKGSD_LIBSEAT:= seat library
+PKGSC_LIBSEAT:= libs/misc
+PKGSD_SEATD:= seat daemon
+PKGSC_SEATD:= sys/misc
+PKGSS_SEATD:= libseat
+
DISTFILES:= $(PKG_VERSION).tar.gz
WRKDIST= ${WRKDIR}/seatd-${PKG_VERSION}
include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call PKG_template,LIBSEAT,libseat,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+$(eval $(call PKG_template,SEATD,seatd,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
@@ -31,4 +40,9 @@ libseat-install:
$(CP) $(WRKINST)/usr/lib/libseat*.so* \
$(IDIR_LIBSEAT)/usr/lib
+seatd-install:
+ $(INSTALL_DIR) $(IDIR_SEATD)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/seatd \
+ $(IDIR_SEATD)/usr/bin
+
include $(ADK_TOPDIR)/mk/pkg-bottom.mk