aboutsummaryrefslogtreecommitdiff
path: root/utils/sockread/Makefile
blob: 305c56d7888e9d5f8af6a7d87bdea28cc73dacb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# This software is licensed under the CC0-1.0 license.
#
include $(TOPDIR)/rules.mk

PKG_NAME:=sockread
PKG_VERSION:=1.1
PKG_RELEASE:=1
PKG_LICENSE:=CC0-1.0

include $(INCLUDE_DIR)/package.mk

define Package/sockread
	SECTION:=utils
	CATEGORY:=Utilities
	TITLE:=Unix domain sockets utility
	MAINTAINER:=Moritz Warning <moritzwarning@web.de>
endef

define Package/sockread/description
	Command line utility to read and write to Unix domain sockets.
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))