mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
sockread: add new package
sockread reads data from a Unix domain socket Signed-off-by: Moritz Warning <moritzwarning@web.de>
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
#
|
||||
# This software is licensed under the CC0-1.0 license.
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=sockread
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_LICENSE:=CC0-1.0
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/sockread
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=sockread
|
||||
MAINTAINER:=Moritz Warning <moritzwarning@web.de>
|
||||
endef
|
||||
|
||||
define Package/sockread/description
|
||||
sockread reads data from a Unix domain socket
|
||||
represented as a special file on the file system.
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
mkdir -p $(PKG_BUILD_DIR)
|
||||
$(CP) ./src/* $(PKG_BUILD_DIR)/
|
||||
endef
|
||||
|
||||
define Package/sockread/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sockread $(1)/usr/bin/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,sockread))
|
||||
Reference in New Issue
Block a user