4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
12 PKG_RELEASE
:=$(AUTORELEASE
)
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.xz
15 PKG_SOURCE_URL
:=https
://github.com
/latchset
/$(PKG_NAME
)/releases
/download
/v
$(PKG_VERSION
)/
16 PKG_HASH
:=e272afe7717e22790c383f3164480627a567c714ccb80c1ee96f62c9929d8225
18 PKG_MAINTAINER
:=Tibor Dudlák
<tibor.dudlak@gmail.com
>
19 PKG_LICENSE
:=Apache-2.0
20 PKG_LICENSE_FILES
:=COPYING
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/meson.mk
25 define Package
/libjose
27 TITLE
:=Provides a full crypto stack including key generation
, signing and encryption.
28 DEPENDS
:=+zlib
+jansson
+libopenssl
+libpthread
29 URL
:=https
://github.com
/latchset
/jose
34 TITLE
:=Provides a full crypto stack including key generation
, signing and encryption.
36 URL
:=https
://github.com
/latchset
/jose
39 define Package
/jose
/description
40 jose is a command line utility for performing various tasks on JSON
41 Object Signing and Encryption
(JOSE
) objects. José provides a full
42 crypto stack including key generation
, signing and encryption.
45 define Package
/libjose
/description
46 libjose is a library for performing various tasks on JSON
47 Object Signing and Encryption
(JOSE
) objects. José provides a full
48 crypto stack including key generation
, signing and encryption.
51 define Build
/InstallDev
52 $(INSTALL_DIR
) $(1)/usr
/lib
53 $(INSTALL_DIR
) $(1)/usr
/include
54 $(INSTALL_DIR
) $(1)/usr
/include/$(PKG_NAME
)
55 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
56 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
$(PKG_NAME
).so
* $(1)/usr
/lib
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/$(PKG_NAME
)/*.h
$(1)/usr
/include/$(PKG_NAME
)
58 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc $(1)/usr
/lib
/pkgconfig
61 define Package
/libjose
/install
62 $(INSTALL_DIR
) $(1)/usr
/lib
63 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
$(PKG_NAME
).so
* $(1)/usr
/lib
/
66 define Package
/jose
/install
67 $(INSTALL_DIR
) $(1)/usr
/bin
68 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/$(PKG_NAME
) $(1)/usr
/bin
/
71 $(eval
$(call BuildPackage
,libjose
))
72 $(eval
$(call BuildPackage
,jose
))