|
|
@ -8,26 +8,27 @@ |
|
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=jose |
|
|
|
PKG_VERSION:=10 |
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_VERSION:=11 |
|
|
|
PKG_RELEASE:=$(AUTORELEASE) |
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz |
|
|
|
PKG_SOURCE_URL:=https://github.com/latchset/$(PKG_NAME)/releases/download/v$(PKG_VERSION)/ |
|
|
|
PKG_HASH:=5c9cdcfb535c4d9f781393d7530521c72b1dd81caa9934cab6dd752cc7efcd72 |
|
|
|
PKG_HASH:=e272afe7717e22790c383f3164480627a567c714ccb80c1ee96f62c9929d8225 |
|
|
|
|
|
|
|
PKG_INSTALL:=1 |
|
|
|
PKG_BUILD_PARALLEL:=1 |
|
|
|
PKG_MAINTAINER:=Tibor Dudlák <tibor.dudlak@gmail.com> |
|
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
|
PKG_LICENSE_FILES:=COPYING |
|
|
|
|
|
|
|
PKG_FIXUP:=autoreconf |
|
|
|
PKG_BUILD_DEPENDS:=meson/host |
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
include ../../devel/meson/meson.mk |
|
|
|
|
|
|
|
define Package/libjose |
|
|
|
SECTION:=libs |
|
|
|
TITLE:=Provides a full crypto stack including key generation, signing and encryption. |
|
|
|
DEPENDS:=+zlib +jansson +libopenssl +libpthread |
|
|
|
URL:=https://github.com/latchset/jose |
|
|
|
MAINTAINER:=Tibor Dudlák <tibor.dudlak@gmail.com> |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/jose |
|
|
@ -35,7 +36,6 @@ define Package/jose |
|
|
|
TITLE:=Provides a full crypto stack including key generation, signing and encryption. |
|
|
|
DEPENDS:=+libjose |
|
|
|
URL:=https://github.com/latchset/jose |
|
|
|
MAINTAINER:=Tibor Dudlák <tibor.dudlak@gmail.com> |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/jose/description |
|
|
@ -57,7 +57,7 @@ define Build/InstallDev |
|
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib$(PKG_NAME).so* $(1)/usr/lib |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/$(PKG_NAME)/*.h $(1)/usr/include/$(PKG_NAME) |
|
|
|
$(CP) $(PKG_BUILD_DIR)/*.pc $(1)/usr/lib/pkgconfig |
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/libjose/install |
|
|
|