Archived
1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
archive/package/system/usign/Makefile
Felix Fietkau b0684dafa3 treewide: fix replace nbd@openwrt.org with nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>

SVN-Revision: 49379
2016-06-07 06:59:36 +00:00

46 lines
1.0 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=usign
PKG_VERSION:=2015-05-08
PKG_RELEASE=$(PKG_SOURCE_VERSION)
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(OPENWRT_GIT)/project/usign.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
CMAKE_INSTALL:=1
PKG_CHECK_FORMAT_SECURITY:=1
PKG_USE_MIPS16:=0
PKG_LICENSE:=ISC
PKG_LICENSE_FILES:=
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/cmake.mk
HOST_BUILD_PREFIX:=$(STAGING_DIR_HOST)
define Package/usign
SECTION:=base
CATEGORY:=Base system
DEPENDS:=+libubox
TITLE:=OpenWrt signature verification utility
endef
CMAKE_OPTIONS += \
-DUSE_LIBUBOX=on
define Package/usign/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/usign $(1)/usr/bin
ln -s usign $(1)/usr/bin/signify
endef
$(eval $(call BuildPackage,usign))
$(eval $(call HostBuild))