Browse Source

cshark: Switch to standard PKG_SOURCE_VERSION/DATE

Several other cleanups.

Added PKG_BUILD_PARALLEL for faster compilation.

Removed PKG_INSTALL as cmake.mk already defines it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
61b5f5b16c
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 9 additions and 11 deletions
  1. +9
    -11
      net/cshark/Makefile

+ 9
- 11
net/cshark/Makefile View File

@ -8,18 +8,18 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=cshark
PKG_VERSION=2018-08-20-$(PKG_SOURCE_VERSION)
PKG_RELEASE=1
PKG_SOURCE_DATE:=2018-08-20
PKG_SOURCE_VERSION:=7a7cf7f35074b85c6fb0c52067e640d2433ef73b
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/cloudshark/cshark.git
PKG_SOURCE_SUBDIR=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=7a7cf7f35074b85c6fb0c52067e640d2433ef73b
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz
PKG_MIRROR_HASH:=bc448bb4e910e771a5a8a39af7cfa09a79b59c595f15cdcae9d0103ce09be019
PKG_MIRROR_HASH:=b09822e93d7de7f4aa9fa018c304ebc52dd3419de3dd2eff463986d3a3b8ca71
PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org>
PKG_LICENSE:=BSD-2-Clause
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
@ -28,14 +28,12 @@ define Package/cshark
SECTION:=net
CATEGORY:=Network
TITLE:=CloudShark capture tool
URL:=http://www.cloudshark.org/
URL:=https://cloudshark.io/
DEPENDS:=+libjson-c +libpcap +libuci +libubox +libuclient +libustream-mbedtls
MAINTAINER:=Luka Perkov <luka@openwrt.org>
endef
CMAKE_OPTIONS = \
-DCMAKE_INSTALL_PREFIX=/usr \
-DWITH_DEBUG=OFF \
-DWITH_DEBUG=OFF
define Package/cshark/conffiles
/etc/config/cshark


Loading…
Cancel
Save