mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-20 01:20:35 +08:00
Change to zstd compressed instead of gz-compressed tarballs. zstd compresses 7-8 times faster and decompresses 2-3 times faster. This change also make sharing tarballs between different branches possible, because OpenWrt 25.12 uses zstd as default. Signed-off-by: Andreas Gnau <andreas.gnau@iopsys.eu>
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2006-2010 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
include $(INCLUDE_DIR)/kernel.mk
|
|
|
|
PKG_NAME:=voicesec
|
|
PKG_VERSION:=1.0
|
|
|
|
PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/voicesec.git
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_VERSION:=661c0091e579e284712aeed892e921cc84a6f0bb
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.zst
|
|
PKG_MIRROR_HASH:=skip
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_LICENSE:=PROPRIETARY
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/voicesec
|
|
CATEGORY:=Utilities
|
|
TITLE:=VoIP security application
|
|
URL:=
|
|
DEPENDS:=
|
|
endef
|
|
|
|
define Package/voicesec/description
|
|
VoIP security application
|
|
endef
|
|
|
|
#target=$(firstword $(subst -, ,$(BOARD)))
|
|
#MAKE_FLAGS += TARGET="$(target)"
|
|
#TARGET_CFLAGS += -D$(CONFIG_TARGET_IBOARDID) -Dtarget_$(target)=1 -Wall
|
|
|
|
define Package/voicesec/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
cp $(PKG_BUILD_DIR)/voicesec $(1)/usr/bin/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,voicesec))
|