mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
fe920d01bb
Remove LEDE_GIT references in favor to the new name-agnostic PROJECT_GIT variable. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
45 lines
991 B
Makefile
45 lines
991 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=usign
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/usign.git
|
|
PKG_SOURCE_DATE:=2015-07-04
|
|
PKG_SOURCE_VERSION:=ef6419142a3b0fbcddcccf536e3c1880302c6f89
|
|
PKG_MIRROR_HASH:=9499ed7e40889b364e446a428e185c40986b75087888bd7e1496542457a6dbaa
|
|
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))
|