2015-04-06 19:38:07 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=usign
|
2015-05-08 12:37:26 +00:00
|
|
|
PKG_VERSION:=2015-05-08
|
2015-04-06 19:38:07 +00:00
|
|
|
PKG_RELEASE=$(PKG_SOURCE_VERSION)
|
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=git://git.openwrt.org/project/usign.git
|
|
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
2015-05-08 12:37:26 +00:00
|
|
|
PKG_SOURCE_VERSION:=cf8dcdb8a4e874c77f3e9a8e9b643e8c17b19131
|
2015-04-06 19:38:07 +00:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
|
|
CMAKE_INSTALL:=1
|
|
|
|
PKG_USE_MIPS16:=0
|
|
|
|
|
|
|
|
PKG_LICENSE:=ISC
|
|
|
|
PKG_LICENSE_FILES:=
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
include $(INCLUDE_DIR)/host-build.mk
|
|
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
|
|
|
|
define Package/usign
|
|
|
|
SECTION:=base
|
|
|
|
CATEGORY:=Base system
|
2015-05-08 12:37:26 +00:00
|
|
|
DEPENDS:=+libubox
|
2015-04-06 19:38:07 +00:00
|
|
|
TITLE:=OpenWrt signature verification utility
|
|
|
|
endef
|
|
|
|
|
2015-05-08 12:37:26 +00:00
|
|
|
CMAKE_OPTIONS += \
|
|
|
|
-DUSE_LIBUBOX=on
|
|
|
|
|
2015-04-06 19:38:07 +00: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))
|