2015-04-07 03:38:07 +08:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=usign
|
2016-12-22 05:25:41 +08:00
|
|
|
PKG_RELEASE:=1
|
2015-04-07 03:38:07 +08:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
2016-06-07 03:16:47 +08:00
|
|
|
PKG_SOURCE_URL=$(LEDE_GIT)/project/usign.git
|
2016-12-22 05:25:41 +08:00
|
|
|
PKG_SOURCE_DATE:=2015-07-04
|
2016-07-04 22:36:47 +08:00
|
|
|
PKG_SOURCE_VERSION:=ef6419142a3b0fbcddcccf536e3c1880302c6f89
|
2016-12-22 05:25:41 +08:00
|
|
|
PKG_MIRROR_HASH:=9499ed7e40889b364e446a428e185c40986b75087888bd7e1496542457a6dbaa
|
2015-04-07 03:38:07 +08:00
|
|
|
CMAKE_INSTALL:=1
|
2015-11-22 22:56:17 +08:00
|
|
|
PKG_CHECK_FORMAT_SECURITY:=1
|
2015-04-07 03:38:07 +08:00
|
|
|
PKG_USE_MIPS16:=0
|
|
|
|
|
|
|
|
PKG_LICENSE:=ISC
|
|
|
|
PKG_LICENSE_FILES:=
|
|
|
|
|
2016-06-07 14:58:31 +08:00
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
|
2015-04-07 03:38:07 +08:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
2016-01-26 07:05:49 +08:00
|
|
|
HOST_BUILD_PREFIX:=$(STAGING_DIR_HOST)
|
|
|
|
|
2015-04-07 03:38:07 +08:00
|
|
|
define Package/usign
|
|
|
|
SECTION:=base
|
|
|
|
CATEGORY:=Base system
|
2015-05-08 20:37:26 +08:00
|
|
|
DEPENDS:=+libubox
|
2015-04-07 03:38:07 +08:00
|
|
|
TITLE:=OpenWrt signature verification utility
|
|
|
|
endef
|
|
|
|
|
2015-05-08 20:37:26 +08:00
|
|
|
CMAKE_OPTIONS += \
|
|
|
|
-DUSE_LIBUBOX=on
|
|
|
|
|
2015-04-07 03:38:07 +08:00
|
|
|
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))
|