mirror of
https://github.com/openwrt/packages.git
synced 2025-02-21 17:16:12 +00:00
With the recent move to using ZSTD as the default compression format for packaging git repo clones we must refresh all of the hashes for the packages feed as well. Signed-off-by: Robert Marko <robimarko@gmail.com>
54 lines
1.2 KiB
Makefile
54 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2014-2015 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=cshark
|
|
PKG_SOURCE_DATE:=2020-07-22
|
|
PKG_SOURCE_VERSION:=c0d32fb6df3cd095fecac8aefe8d188170246403
|
|
PKG_RELEASE:=3
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/cloudshark/cshark.git
|
|
PKG_MIRROR_HASH:=85e6e76ad09f235f4eab1f7f880d281906a344a2b2de66a49823991219d21f01
|
|
|
|
PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
define Package/cshark
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=CloudShark capture tool
|
|
URL:=https://cloudshark.io/
|
|
DEPENDS:=+libjson-c +libpcap +libuci +libubox +libuclient +libustream-mbedtls
|
|
endef
|
|
|
|
CMAKE_OPTIONS += \
|
|
-DWITH_DEBUG=OFF
|
|
|
|
define Package/cshark/conffiles
|
|
/etc/config/cshark
|
|
endef
|
|
|
|
define Package/cshark/install
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) \
|
|
$(PKG_INSTALL_DIR)/usr/bin/cshark \
|
|
$(1)/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/config
|
|
$(INSTALL_CONF) \
|
|
$(PKG_BUILD_DIR)/config/cshark \
|
|
$(1)/etc/config/
|
|
endef
|
|
|
|
|
|
$(eval $(call BuildPackage,cshark))
|