1 include $(TOPDIR)/rules.mk
7 PKG_SOURCE_URL=$(PROJECT_GIT)/usign.git
8 PKG_SOURCE_DATE:=2020-05-23
9 PKG_SOURCE_VERSION:=f1f65026a94137c91b5466b149ef3ea3f20091e9
10 PKG_MIRROR_HASH:=3f6569a5e63fdfd032976ac0f79d736d3935101ac1b97fb370514b013c5e6bb6
12 PKG_CHECK_FORMAT_SECURITY:=1
18 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
20 include $(INCLUDE_DIR)/package.mk
21 include $(INCLUDE_DIR)/host-build.mk
22 include $(INCLUDE_DIR)/cmake.mk
24 HOST_BUILD_PREFIX:=$(STAGING_DIR_HOST)
30 TITLE:=libreCMC signature verification utility
33 TARGET_CFLAGS += -flto
34 TARGET_LDFLAGS += -flto=jobserver
39 define Package/usign/install
40 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/usign $(1)/usr/bin
43 ln -s usign $(1)/usr/bin/signify
46 $(eval $(call BuildPackage,usign))
47 $(eval $(call HostBuild))